Skip to content

Commit

Permalink
test(ironfish): Fix account test
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanjadvani committed Aug 31, 2023
1 parent 3596091 commit cc36cce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ironfish/src/wallet/account/account.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1463,8 +1463,9 @@ describe('Accounts', () => {

// wallet should have the new asset
let assets = await AsyncUtils.materialize(accountA.getAssets())
expect(assets).toHaveLength(1)
expect(assets[0].id).toEqualBuffer(asset.id())
expect(assets).toHaveLength(2)
expect(assets[0].id).toEqualBuffer(Asset.nativeId())
expect(assets[1].id).toEqualBuffer(asset.id())

// expire the mint transaction
await accountA.expireTransaction(mintTx)
Expand Down

0 comments on commit cc36cce

Please sign in to comment.