From a960b847883de842c43820400b265b298bfe87cc Mon Sep 17 00:00:00 2001 From: cm-ayf Date: Fri, 24 May 2024 19:44:59 +0900 Subject: [PATCH] test --- test/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/index.js b/test/index.js index bb78b29..b931030 100644 --- a/test/index.js +++ b/test/index.js @@ -17,8 +17,13 @@ const { } = require("../lib"); const tar = require("tar-fs"); const TOML = require("@iarna/toml"); +const { OM_SYRINX_VERSION } = require("../lib"); describe("version", () => { + it("should match the version of om-syrinx", () => { + assert.strictEqual(require("../package.json").version, OM_SYRINX_VERSION); + }); + const lockFile = fs.readFileSync("Cargo.lock", "utf-8"); const { package } = TOML.parse(lockFile);