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/data.test.ts
Views: 687
1
import * as data from "./data";
2
3
test("some consistency checks on the data paths", () => {
4
expect(data.infoJson).toMatch(/info.json$/);
5
expect(data.hubPortFile).toMatch(/.port$/);
6
expect(data.apiServerPortFile).toMatch(/.port$/);
7
expect(data.browserPortFile).toMatch(/.port$/);
8
expect(data.projectPidFile).toMatch(/.pid$/);
9
});
10
11