Skip to content

Commit

Permalink
Merge pull request #58 from sikka-software/feature/enhance-hajar-usab…
Browse files Browse the repository at this point in the history
…ility-js

chore : update spec.ts to be dynamic
  • Loading branch information
Mansourkira authored Mar 20, 2024
2 parents 0729567 + 03e6e69 commit 7f3f1a7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/index.spec.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { version as _version } from "../www/src/@sikka/hajar/index";
const { version } = require("../package.json");

import { version } from "../package.json";
describe("Hajar.src.js", () => {
it("should get the library's version", () => {
expect(["1.1.69-beta", "1.1.69"]).toContain(version);
expect([version + "-beta", version]).toContain(version);
});
});

0 comments on commit 7f3f1a7

Please sign in to comment.