Archived
1
0

feat: add tests for getEnvPaths

This commit is contained in:
Joe Previte 2021-05-10 16:17:43 -07:00
parent a57ee69822
commit 2a657ab930
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24

View File

@ -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)
})
})