aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/tutorials/arbitrage.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-03 01:46:58 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-02 04:21:08 +0800
commitc90770472e19759d0bb2db49be3d8d9340f76bac (patch)
tree545734583cda29e52d6d36e3d22f0e7eacb3f74d /packages/contracts/test/tutorials/arbitrage.ts
parent45df9de5b5b4ab6cfd4fda1b568f8109ec2c0371 (diff)
downloaddexon-sol-tools-c90770472e19759d0bb2db49be3d8d9340f76bac.tar.gz
dexon-sol-tools-c90770472e19759d0bb2db49be3d8d9340f76bac.tar.zst
dexon-sol-tools-c90770472e19759d0bb2db49be3d8d9340f76bac.zip
Remove false-positive linter failure because of chai-as-pronmised incorrect types
Diffstat (limited to 'packages/contracts/test/tutorials/arbitrage.ts')
-rw-r--r--packages/contracts/test/tutorials/arbitrage.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/contracts/test/tutorials/arbitrage.ts b/packages/contracts/test/tutorials/arbitrage.ts
index 68b8f555e..d2ab076c9 100644
--- a/packages/contracts/test/tutorials/arbitrage.ts
+++ b/packages/contracts/test/tutorials/arbitrage.ts
@@ -200,6 +200,7 @@ describe('Arbitrage', () => {
ZeroEx.toBaseUnitAmount(new BigNumber(1), 18),
{ from: edFrontRunner },
);
+ // tslint:disable-next-line:await-promise
await expect(arbitrage.makeAtomicTrade(addresses, values, v, r, s, { from: coinbase })).to.be.rejectedWith(
constants.REVERT,
);