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/backend/port.test.ts
Views: 687
1
test("that the port is set to the PORT env var", () => {
2
process.env.PORT = "6000";
3
expect(require("./port").default).toBe(6000);
4
});
5
6
export {};
7
8