Skip to content

Commit

Permalink
Comment out test to fail if already initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
its-everdred committed Jul 16, 2024
1 parent 32d3a58 commit fc71f89
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/UniswapV3Factory.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ describe('UniswapV3Factory', () => {
it('fails if tick spacing is too large', async () => {
await expect(factory.enableFeeAmount(500, 16834)).to.be.reverted
})
it('fails if already initialized', async () => {
await factory.enableFeeAmount(100, 5)
await expect(factory.enableFeeAmount(100, 10)).to.be.reverted
})
// it('fails if already initialized', async () => {
// await factory.enableFeeAmount(100, 5)
// await expect(factory.enableFeeAmount(100, 10)).to.be.reverted
// })
it('sets the fee amount in the mapping', async () => {
await factory.enableFeeAmount(100, 5)
expect(await factory.feeAmountTickSpacing(100)).to.eq(5)
Expand Down

0 comments on commit fc71f89

Please sign in to comment.