Skip to content

Commit

Permalink
test: improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
RomarQ committed Sep 4, 2024
1 parent 5de0d7b commit 8288afd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/suites/dev/moonbase/test-fees/test-fee-multiplier-xcm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ describeSuite({
// console.log(`post ${postValue.toHuman()}`);
// console.log(`diff ${initialValue.sub(postValue)}`);

expect(initialValue.eq(postValue), "Fee multiplier not static on ideal fill ratio").to.be
.true;
expect(initialValue, "Fee multiplier not static on ideal fill ratio").to.be.eq(postValue);
},
});

Expand Down Expand Up @@ -207,7 +206,7 @@ describeSuite({
// Enqueue XCM message
await context.createBlock();
const postValue = await context.polkadotJs().query.transactionPayment.nextFeeMultiplier();
expect(initialValue.eq(postValue), "Fee Multiplier has changed between blocks").to.be.true;
expect(initialValue, "Fee Multiplier has changed between blocks").to.be.eq(postValue);

// Process xcm message
await context.createBlock();
Expand Down Expand Up @@ -322,7 +321,7 @@ describeSuite({
// Enqueue XCM message
await context.createBlock();
const postValue = await context.polkadotJs().query.transactionPayment.nextFeeMultiplier();
expect(initialValue.eq(postValue), "Fee Multiplier has changed between blocks").to.be.true;
expect(initialValue, "Fee Multiplier has changed between blocks").to.be.eq(postValue);

// Process xcm message
await context.createBlock();
Expand Down

0 comments on commit 8288afd

Please sign in to comment.