diff options
author | Fabio Berger <me@fabioberger.com> | 2018-05-15 03:48:46 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-05-15 03:48:46 +0800 |
commit | d0905eda496864096f5a64b1e2c1c05b575be904 (patch) | |
tree | 86813449bbd72994f6e9ecf1a0fe6d4ddf8197d1 /packages/order-watcher | |
parent | 7c023233f201852c7f20117b2a358f47e462ae1a (diff) | |
download | dexon-sol-tools-d0905eda496864096f5a64b1e2c1c05b575be904.tar dexon-sol-tools-d0905eda496864096f5a64b1e2c1c05b575be904.tar.gz dexon-sol-tools-d0905eda496864096f5a64b1e2c1c05b575be904.tar.bz2 dexon-sol-tools-d0905eda496864096f5a64b1e2c1c05b575be904.tar.lz dexon-sol-tools-d0905eda496864096f5a64b1e2c1c05b575be904.tar.xz dexon-sol-tools-d0905eda496864096f5a64b1e2c1c05b575be904.tar.zst dexon-sol-tools-d0905eda496864096f5a64b1e2c1c05b575be904.zip |
Fix TSLint issues
Diffstat (limited to 'packages/order-watcher')
-rw-r--r-- | packages/order-watcher/src/utils/assert.ts | 2 | ||||
-rw-r--r-- | packages/order-watcher/test/global_hooks.ts | 2 | ||||
-rw-r--r-- | packages/order-watcher/test/utils/chai_setup.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/packages/order-watcher/src/utils/assert.ts b/packages/order-watcher/src/utils/assert.ts index f96bcebc1..9e02f8bdc 100644 --- a/packages/order-watcher/src/utils/assert.ts +++ b/packages/order-watcher/src/utils/assert.ts @@ -12,7 +12,7 @@ import { isValidSignature } from '@0xproject/order-utils'; export const assert = { ...sharedAssert, - isValidSignature(orderHash: string, ecSignature: ECSignature, signerAddress: string) { + isValidSignature(orderHash: string, ecSignature: ECSignature, signerAddress: string): void { const isValid = isValidSignature(orderHash, ecSignature, signerAddress); this.assert(isValid, `Expected order with hash '${orderHash}' to have a valid signature`); }, diff --git a/packages/order-watcher/test/global_hooks.ts b/packages/order-watcher/test/global_hooks.ts index 88f202761..53b3ef545 100644 --- a/packages/order-watcher/test/global_hooks.ts +++ b/packages/order-watcher/test/global_hooks.ts @@ -5,7 +5,7 @@ import * as path from 'path'; import { constants } from './utils/constants'; import { provider } from './utils/web3_wrapper'; -before('migrate contracts', async function() { +before('migrate contracts', async function(): Promise<void> { // HACK: Since the migrations take longer then our global mocha timeout limit // we manually increase it for this before hook. this.timeout(20000); diff --git a/packages/order-watcher/test/utils/chai_setup.ts b/packages/order-watcher/test/utils/chai_setup.ts index 078edd309..1a8733093 100644 --- a/packages/order-watcher/test/utils/chai_setup.ts +++ b/packages/order-watcher/test/utils/chai_setup.ts @@ -4,7 +4,7 @@ import ChaiBigNumber = require('chai-bignumber'); import * as dirtyChai from 'dirty-chai'; export const chaiSetup = { - configure() { + configure(): void { chai.config.includeStack = true; chai.use(ChaiBigNumber()); chai.use(dirtyChai); |