feat: add tests for getEnvPaths
This commit is contained in:
parent
a57ee69822
commit
2a657ab930
|
@ -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)
|
||||
})
|
||||
})
|
Loading…
Reference in New Issue