diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2019-01-12 01:32:28 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2019-01-12 01:32:28 +0800 |
commit | 8d3bbb8213eb2972ace2cf488ef1d901bef8f725 (patch) | |
tree | 33f17fb921addab3a95dd9ca7356736345b357f0 /packages/asset-buyer/test | |
parent | a5e7ce9e1acb2f8fdfcef629789dd315e3adcbdc (diff) | |
download | dexon-sol-tools-8d3bbb8213eb2972ace2cf488ef1d901bef8f725.tar dexon-sol-tools-8d3bbb8213eb2972ace2cf488ef1d901bef8f725.tar.gz dexon-sol-tools-8d3bbb8213eb2972ace2cf488ef1d901bef8f725.tar.bz2 dexon-sol-tools-8d3bbb8213eb2972ace2cf488ef1d901bef8f725.tar.lz dexon-sol-tools-8d3bbb8213eb2972ace2cf488ef1d901bef8f725.tar.xz dexon-sol-tools-8d3bbb8213eb2972ace2cf488ef1d901bef8f725.tar.zst dexon-sol-tools-8d3bbb8213eb2972ace2cf488ef1d901bef8f725.zip |
Disable promise-function-async for mocking async functions
Diffstat (limited to 'packages/asset-buyer/test')
-rw-r--r-- | packages/asset-buyer/test/utils/mocks.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/asset-buyer/test/utils/mocks.ts b/packages/asset-buyer/test/utils/mocks.ts index fe0d0cbf4..d3e1c09c4 100644 --- a/packages/asset-buyer/test/utils/mocks.ts +++ b/packages/asset-buyer/test/utils/mocks.ts @@ -4,6 +4,8 @@ import * as TypeMoq from 'typemoq'; import { AssetBuyer } from '../../src/asset_buyer'; import { OrderProvider, OrderProviderResponse, OrdersAndFillableAmounts } from '../../src/types'; +// tslint:disable:promise-function-async + // Implementing dummy class for using in mocks, see https://github.com/florinn/typemoq/issues/3 class OrderProviderClass implements OrderProvider { // tslint:disable-next-line:prefer-function-over-method |