Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
code-server/test/unit/node/util.test.ts

11 lines
390 B
TypeScript
Raw Normal View History

2021-05-11 01:17:43 +02:00
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)
})
})