Skip to content

Commit 498d7ac

Browse files
test(sdk-core): use supported Sinon assertions
Replace unavailable Sinon assert helpers with the assertion style used by sdk-core tests and supported by the repository's Sinon version. WEB-000 PT-000000
1 parent b84a7bd commit 498d7ac

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

modules/sdk-core/test/unit/bitgo/trading/network/network.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ describe('TradingNetwork', function () {
100100
nonce: prepared.nonce,
101101
})
102102
);
103-
sinon.assert.calledOnceWithExactly(tradingAccount.signPayload, {
103+
tradingAccount.signPayload.calledOnce.should.be.true();
104+
tradingAccount.signPayload.firstCall.args[0].should.deepEqual({
104105
payload: prepared.payload,
105106
walletPassphrase: undefined,
106107
});

0 commit comments

Comments
 (0)