Skip to content

Commit 44b4683

Browse files
fix: increase benchmark timeout and reduce ops for CI
1 parent 2c8ccfb commit 44b4683

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

packages/wasm-bip32/test/bip32.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,10 @@ describe("WasmBIP32", () => {
138138
});
139139
});
140140

141-
describe("BIP32 Benchmarks: wasm-bip32 vs utxo-lib", () => {
142-
const ops = 1000;
141+
describe("BIP32 Benchmarks: wasm-bip32 vs utxo-lib", function () {
142+
// Increase timeout for benchmark tests (default mocha timeout is 2000ms)
143+
this.timeout(30000);
144+
const ops = 100;
143145
const seed = new Uint8Array(32).fill(1);
144146
const xprv =
145147
"xprv9s21ZrQH143K3QTDL4LXw2F7HEK3wJUD2nW2nRk4stbPy6cq3jPPqjiChkVvvNKmPGJxWUtg6LnF5kejMRNNU3TGtRBeJgk33yuGBxrMPHi";

0 commit comments

Comments
 (0)