Skip to content

Commit

Permalink
⏱️ Try bun timeout support
Browse files Browse the repository at this point in the history
  • Loading branch information
KimlikDAO-bot committed Jan 7, 2025
1 parent fe6341a commit c33a93c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions did/test/verifiableID.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test("generate and verify", () => {
verify(verifiableID, "TR22345678902", publicKey))
.then((result) => expect(result).toBeTrue());
}, {
timeout: 100_000
timeout: 20_000
});

test("generate and verify", () => {
Expand All @@ -42,5 +42,5 @@ test("generate and verify", () => {
verify(verifiableID, "PERSONID", publicKey))
.then((result) => expect(result).toBeTrue());
}, {
timeout: 100_000
timeout: 20_000
});
2 changes: 1 addition & 1 deletion testing/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const filter = createMatcher(["build/", "node_modules/"]

const command = targetPattern.includes("bench")
? "bun"
: "bun test --timeout 100000";
: "bun test";

console.info(`Target: ${targetPattern} (filtering: ${filter})`);
compileAndRunMatching(targetPattern, command, args)
Expand Down

0 comments on commit c33a93c

Please sign in to comment.