We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a57ee69 commit 2a657abCopy full SHA for 2a657ab
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