diff --git a/test/unit/node/util.test.ts b/test/unit/node/util.test.ts new file mode 100644 index 00000000..e26add80 --- /dev/null +++ b/test/unit/node/util.test.ts @@ -0,0 +1,10 @@ +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) + }) +})