Skip to content

Commit

Permalink
fix borsch issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bh2smith committed Nov 6, 2024
1 parent 44f16b6 commit d2606b2
Showing 1 changed file with 24 additions and 18 deletions.
42 changes: 24 additions & 18 deletions tests/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,28 @@ describe("End To End", () => {

it.skip("signAndSendTransaction", async () => {
await expect(
realAdapter.signAndSendTransaction({
// Sending 1 WEI to self (so we never run out of funds)
to: realAdapter.address,
value: ONE_WEI,
chainId,
})
realAdapter.signAndSendTransaction([
{
// Sending 1 WEI to self (so we never run out of funds)
to: realAdapter.address,
value: ONE_WEI,
chainId,
},
])
).resolves.not.toThrow();
});

it.skip("signAndSendTransaction - Gnosis Chain", async () => {
await expect(
realAdapter.signAndSendTransaction({
// Sending 1 WEI to self (so we ~never run out of funds)
to: realAdapter.address,
value: ONE_WEI,
// Gnosis Chain!
chainId: 100,
})
realAdapter.signAndSendTransaction([
{
// Sending 1 WEI to self (so we ~never run out of funds)
to: realAdapter.address,
value: ONE_WEI,
// Gnosis Chain!
chainId: 100,
},
])
).resolves.not.toThrow();
});

Expand All @@ -54,11 +58,13 @@ describe("End To End", () => {
address: mockedAdapter.address,
});
await expect(
realAdapter.signAndSendTransaction({
to,
value: senderBalance + ONE_WEI,
chainId,
})
realAdapter.signAndSendTransaction([
{
to,
value: senderBalance + ONE_WEI,
chainId,
},
])
).rejects.toThrow();
});

Expand Down

0 comments on commit d2606b2

Please sign in to comment.