Skip to content

Commit

Permalink
pr fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Jul 9, 2024
1 parent 46a4e56 commit 21fbc00
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/ledger_canister/test/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,21 @@ function getSimpleTests(ledgerCanister: ActorSubclass<_SERVICE>): Test {
length: 100n
});

const transfer_1 = result.blocks[0].transaction.operation[0];
const transfer_2 = result.blocks[1].transaction.operation[0];
const transfer_3 = result.blocks[2].transaction.operation[0];
const transfer1 = result.blocks[0].transaction.operation[0];
const transfer2 = result.blocks[1].transaction.operation[0];
const transfer3 = result.blocks[2].transaction.operation[0];

expect(transfer_1).toEqual({
expect(transfer1).toEqual({
Mint: expect.objectContaining({
amount: { e8s: 100_000_000_000n }
})
});
expect(transfer_2).toEqual({
expect(transfer2).toEqual({
Transfer: expect.objectContaining({
amount: { e8s: 2_000_000n }
})
});
expect(transfer_3).toEqual({
expect(transfer3).toEqual({
Transfer: expect.objectContaining({
amount: { e8s: 3_000_000n }
})
Expand Down

0 comments on commit 21fbc00

Please sign in to comment.