--- a/lib/util/utils.ts +++ b/lib/util/utils.ts @@ -40,7 +40,7 @@ const version = packageJSON.version; let commitHash: string | undefined; - if (!includeCommitHash) { + if (true) { // XXX-Patched: don't use git return {version, commitHash}; } --- a/test/utils.test.ts +++ b/test/utils.test.ts @@ -18,7 +18,7 @@ expect(utils.objectHasProperties({a: 1, b: 2, c: 3}, ["a", "b", "d"])).toBeFalsy(); }); - it("get Z2M version", async () => { + it.skip("get Z2M version", async () => { const readFileSyncSpy = vi.spyOn(fs, "readFileSync"); const version = JSON.parse(fs.readFileSync(path.join(__dirname, "..", "package.json"), "utf8")).version;