1
0
mirror of https://github.com/coder/code-server.git synced 2024-12-04 23:03:06 +08:00
code-server/test/unit/node/util.test.ts
2021-05-13 12:10:21 -07:00

11 lines
390 B
TypeScript

import { getEnvPaths } from "../../../src/node/util"
describe("getEnvPaths", () => {
it("should return an object with the data, config and runtime path", () => {
const actualPaths = getEnvPaths()
expect(actualPaths.hasOwnProperty("data")).toBe(true)
expect(actualPaths.hasOwnProperty("config")).toBe(true)
expect(actualPaths.hasOwnProperty("runtime")).toBe(true)
})
})