aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-watcher
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-15 03:48:46 +0800
committerFabio Berger <me@fabioberger.com>2018-05-15 05:27:41 +0800
commit5422bf57332f69d7b45e884c19a9f20d60bdec5b (patch)
tree589c915c4c085aad68809b7eb5123072beeda8d2 /packages/order-watcher
parentda60008048fdf99f3e00e9b83595dfc6572bdf73 (diff)
downloaddexon-sol-tools-5422bf57332f69d7b45e884c19a9f20d60bdec5b.tar
dexon-sol-tools-5422bf57332f69d7b45e884c19a9f20d60bdec5b.tar.gz
dexon-sol-tools-5422bf57332f69d7b45e884c19a9f20d60bdec5b.tar.bz2
dexon-sol-tools-5422bf57332f69d7b45e884c19a9f20d60bdec5b.tar.lz
dexon-sol-tools-5422bf57332f69d7b45e884c19a9f20d60bdec5b.tar.xz
dexon-sol-tools-5422bf57332f69d7b45e884c19a9f20d60bdec5b.tar.zst
dexon-sol-tools-5422bf57332f69d7b45e884c19a9f20d60bdec5b.zip
Fix TSLint issues
Diffstat (limited to 'packages/order-watcher')
-rw-r--r--packages/order-watcher/src/utils/assert.ts2
-rw-r--r--packages/order-watcher/test/global_hooks.ts2
-rw-r--r--packages/order-watcher/test/utils/chai_setup.ts2
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);