Skip to content

Commit a128b79

Browse files
committed
feat: add tests for getEnvPaths
1 parent 866cbe3 commit a128b79

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/unit/node/util.test.ts

+10
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)