Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-CZ committed Dec 16, 2024
1 parent de08380 commit 6227803
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions test/SFC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('SFC', () => {
nodeDriver,
nodeDriverAuth,
constants,
totalSupply
totalSupply,
};
};

Expand All @@ -66,11 +66,9 @@ describe('SFC', () => {
});

it('Should revert when amount greater than total supply', async function () {
await expect(this.sfc.connect(this.user).burnNativeTokens({ value: this.totalSupply + 1n }))
.to.be.revertedWithCustomError(
this.sfc,
'ValueTooLarge',
);
await expect(
this.sfc.connect(this.user).burnNativeTokens({ value: this.totalSupply + 1n }),
).to.be.revertedWithCustomError(this.sfc, 'ValueTooLarge');
});

it('Should succeed and burn native tokens', async function () {
Expand Down

0 comments on commit 6227803

Please sign in to comment.