8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c6ce1a commit 5a6ab9bCopy full SHA for 5a6ab9b
test/unit/node/util.test.ts
@@ -0,0 +1,10 @@
1
+import { getEnvPaths } from "../../../src/node/util"
2
+
3
+describe("getEnvPaths", () => {
4
+ it("should return an object with the data, config and runtime path", () => {
5
+ const actualPaths = getEnvPaths()
6
+ expect(actualPaths.hasOwnProperty("data")).toBe(true)
7
+ expect(actualPaths.hasOwnProperty("config")).toBe(true)
8
+ expect(actualPaths.hasOwnProperty("runtime")).toBe(true)
9
+ })
10
+})
0 commit comments