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/project/main.test.ts
Views: 687
1
export {};
2
3
test("we import the main program under nodejs", async () => {
4
// This should work. If you accidentally import too much from @cocalc/frontend,
5
// then that can break this import throwing an exception, e.g., something like
6
// "... ReferenceError: navigator is not defined ..."
7
await import("@cocalc/project/project");
8
});
9
10