Skip to content

Commit 95ff215

Browse files
committed
Uncomment a test that was fixed with latest waffle
1 parent d60d466 commit 95ff215

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

test/UniswapV2Pair.spec.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,10 @@ describe('UniswapV2Pair', () => {
191191
await expect(pair.burn(wallet.address, overrides))
192192
.to.emit(pair, 'Transfer')
193193
.withArgs(pair.address, AddressZero, expectedLiquidity.sub(MINIMUM_LIQUIDITY))
194-
// commented out because of this bug: https://github.com/EthWorks/Waffle/issues/100
195-
// .to.emit(token0, 'Transfer')
196-
// .withArgs(pair.address, wallet.address, token0Amount.sub(1000))
197-
// .to.emit(token1, 'Transfer')
198-
// .withArgs(pair.address, wallet.address, token1Amount.sub(1000))
194+
.to.emit(token0, 'Transfer')
195+
.withArgs(pair.address, wallet.address, token0Amount.sub(1000))
196+
.to.emit(token1, 'Transfer')
197+
.withArgs(pair.address, wallet.address, token1Amount.sub(1000))
199198
.to.emit(pair, 'Sync')
200199
.withArgs(1000, 1000)
201200
.to.emit(pair, 'Burn')

0 commit comments

Comments
 (0)