Skip to content

Commit

Permalink
upd: addr review
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasir Shariff committed Jan 8, 2024
1 parent a66f3f2 commit 1b9b457
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/08.gas-meter-api.ava.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ test.beforeEach(async t => {
);
const ali = await root.createSubAccount('ali', {initialBalance: NEAR.parse('3 N').toJSON()});

// Assert some gas was burnt on account creation
t.notDeepEqual(meter.elapsed, Gas.from(0), `meter.elapsed: ${meter.elapsed.toString()}`);
// Assert gas was burnt on account creation
t.assert(meter.elapsed.gt(Gas.from(10_000_000_000_000)), `meter.elapsed: ${meter.elapsed.toString()}`);

// Reset the meter
await meter.reset();
Expand Down

0 comments on commit 1b9b457

Please sign in to comment.