squash errors

This commit is contained in:
Noah Zinsmeister
2019-12-09 02:33:18 -05:00
parent 7fa81c9d6f
commit fd95caea17
4 changed files with 14 additions and 14 deletions

View File

@ -32,7 +32,7 @@ describe('UniswapV2Factory', () => {
it('exchangeBytecode', async () => {
expect(await factory.exchangeBytecode()).to.eq(bytecode)
expect(await factory.getExchangesCount()).to.eq(0)
expect(await factory.exchangesCount()).to.eq(0)
})
async function createExchange(tokens: string[]) {
@ -49,8 +49,8 @@ describe('UniswapV2Factory', () => {
expect(await factory.getExchange(...tokens)).to.eq(create2Address)
expect(await factory.getExchange(...tokens.slice().reverse())).to.eq(create2Address)
expect(await factory.getTokens(create2Address)).to.deep.eq([TEST_ADDRESSES.token0, TEST_ADDRESSES.token1])
expect(await factory.getExchanges(0)).to.eq(create2Address)
expect(await factory.getExchangesCount()).to.eq(1)
expect(await factory.exchanges(0)).to.eq(create2Address)
expect(await factory.exchangesCount()).to.eq(1)
const exchange = new Contract(create2Address, JSON.stringify(UniswapV2.abi), provider)
expect(await exchange.factory()).to.eq(factory.address)