Skip to content

Commit

Permalink
finally fix this unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
bh2smith committed Oct 1, 2024
1 parent d8dc1e1 commit 66bc600
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/mpcContract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ describe("mpcContract", () => {
],
};
const result = await mpc.encodeSignatureRequestTx(signArgs);
// The deposit is non-deterministic!
expected.actions[0]!.params.deposit = result.actions[0]!.params.deposit;
expect(result).toEqual(expected);
// Set Gas:
expected.actions[0]!.params.gas = "1";
Expand Down

0 comments on commit 66bc600

Please sign in to comment.