Skip to content

Commit 62776df

Browse files
OttoAllmendingerllm-git
andcommitted
feat(utxo-core): replace should.js with assert in bip32utils test
Issue: BTC-0 Co-authored-by: llm-git <[email protected]>
1 parent 000a3c5 commit 62776df

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/utxo-core/test/bip32utils.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as crypto from 'crypto';
2+
import * as assert from 'assert';
23

34
import * as utxolib from '@bitgo/utxo-lib';
4-
import 'should';
55

66
import { signMessage, verifyMessage } from '../src/bip32utils';
77

@@ -18,7 +18,8 @@ describe('bip32utils', function () {
1818

1919
keys.forEach((otherKey) => {
2020
messages.forEach((otherMessage) => {
21-
verifyMessage(otherMessage, otherKey, signature, utxolib.networks.bitcoin).should.eql(
21+
assert.strictEqual(
22+
verifyMessage(otherMessage, otherKey, signature, utxolib.networks.bitcoin),
2223
message === otherMessage && key === otherKey
2324
);
2425
});

0 commit comments

Comments
 (0)