CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/cdn/test.js
Views: 687
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