updated tests #1854
Annotations
5 errors and 2 warnings
Tests:
contracts/tests/sbtc-withdrawal.test.ts#L104
AssertionError: expected { Object (amount, blockHeight, ...) } to strictly equal { …(6) }
- Expected
+ Received
Object {
"amount": 1000n,
- "blockHeight": 2n,
+ "blockHeight": 1n,
"maxFee": 10n,
"recipient": Object {
"hashbytes": Uint8Array [
115,
33,
183,
78,
43,
106,
126,
148,
158,
108,
74,
211,
19,
3,
91,
22,
101,
9,
80,
23,
],
"version": Uint8Array [
0,
],
},
"sender": "ST1SJ3DTE5DN7X54YDH5D64R3BCB6A2AG2ZQ8YPD5",
"status": null,
}
❯ tests/sbtc-withdrawal.test.ts:104:21
|
Tests:
contracts/tests/sbtc-withdrawal.test.ts#L497
AssertionError: expected { Object (amount, blockHeight, ...) } to strictly equal { …(6) }
- Expected
+ Received
Object {
"amount": 1000n,
- "blockHeight": 2n,
+ "blockHeight": 1n,
"maxFee": 10n,
"recipient": Object {
"hashbytes": Uint8Array [
115,
33,
183,
78,
43,
106,
126,
148,
158,
108,
74,
211,
19,
3,
91,
22,
101,
9,
80,
23,
],
"version": Uint8Array [
0,
],
},
"sender": "ST1SJ3DTE5DN7X54YDH5D64R3BCB6A2AG2ZQ8YPD5",
"status": true,
}
❯ tests/sbtc-withdrawal.test.ts:497:21
|
Tests:
contracts/tests/sbtc-withdrawal.test.ts#L554
AssertionError: expected { Object (amount, blockHeight, ...) } to strictly equal { …(6) }
- Expected
+ Received
Object {
"amount": 1000n,
- "blockHeight": 2n,
+ "blockHeight": 1n,
"maxFee": 10n,
"recipient": Object {
"hashbytes": Uint8Array [
115,
33,
183,
78,
43,
106,
126,
148,
158,
108,
74,
211,
19,
3,
91,
22,
101,
9,
80,
23,
],
"version": Uint8Array [
0,
],
},
"sender": "ST1SJ3DTE5DN7X54YDH5D64R3BCB6A2AG2ZQ8YPD5",
"status": false,
}
❯ tests/sbtc-withdrawal.test.ts:554:21
|
Tests:
contracts/tests/sbtc-withdrawal.test.ts#L724
Error: Tx result failed. Expected OK, received ERR 1.
❯ c ../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@clarigen/test/src/utils.ts:39:13
❯ Module.F ../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@clarigen/test/src/index.ts:38:17
❯ tests/sbtc-withdrawal.test.ts:724:5
|
Tests
Process completed with exit code 1.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading