Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/cdn/test.js
5647 views
1
describe("test that the built module description object exists and has some properties", () => {
2
const obj = require(".");
3
4
it("has a path that contains cdn", () => {
5
expect(obj.path).toContain("/cdn/");
6
});
7
8
it("has versions for the five modules it should have", () => {
9
for (const name of ["codemirror", "katex"]) {
10
expect(obj.versions).toHaveProperty(name);
11
}
12
});
13
});
14
15