Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Oct 4, 2023
1 parent 498e83a commit c2b4f79
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/acala/liquid-crowdloan.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ describe('liquid crowdloan', async () => {

await chain.dev.newBlock()

await check(chain.api.query.tokens.accounts(palletAccount, acala.dot)).redact().toMatchSnapshot('pallet account balance')
await check(chain.api.query.tokens.accounts(palletAccount, acala.dot))
.redact()
.toMatchSnapshot('pallet account balance')

const tx0 = await sendTransaction(chain.api.tx.liquidCrowdloan.redeem(9e10).signAsync(alice))

Expand All @@ -82,9 +84,9 @@ describe('liquid crowdloan', async () => {

await chain.dev.newBlock()

await check(chain.api.query.tokens.accounts(palletAccount, acala.dot)).redact().toMatchSnapshot(
'pallet account balance after all transfer',
)
await check(chain.api.query.tokens.accounts(palletAccount, acala.dot))
.redact()
.toMatchSnapshot('pallet account balance after all transfer')

const tx1 = await sendTransaction(chain.api.tx.liquidCrowdloan.redeem(400e10).signAsync(alice))

Expand Down

0 comments on commit c2b4f79

Please sign in to comment.