aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-14 16:36:13 +0800
committerGitHub <noreply@github.com>2018-05-14 16:36:13 +0800
commit58fa35641d3016ef106496c929e48febcf827dc6 (patch)
tree3f33c2faac3b55e52098ab0b5b9883a9b62f5aee /packages/0x.js/test
parent6aed4fb1ae27dabed027c855f2cbdc0bfb4f3b6b (diff)
parentb74957acdfc8d67d154bcb4698acd7575db7cc47 (diff)
downloaddexon-sol-tools-58fa35641d3016ef106496c929e48febcf827dc6.tar
dexon-sol-tools-58fa35641d3016ef106496c929e48febcf827dc6.tar.gz
dexon-sol-tools-58fa35641d3016ef106496c929e48febcf827dc6.tar.bz2
dexon-sol-tools-58fa35641d3016ef106496c929e48febcf827dc6.tar.lz
dexon-sol-tools-58fa35641d3016ef106496c929e48febcf827dc6.tar.xz
dexon-sol-tools-58fa35641d3016ef106496c929e48febcf827dc6.tar.zst
dexon-sol-tools-58fa35641d3016ef106496c929e48febcf827dc6.zip
Merge pull request #585 from 0xProject/feature/typedef
Add missing type definitions. Enable typedef linter rule
Diffstat (limited to 'packages/0x.js/test')
-rw-r--r--packages/0x.js/test/global_hooks.ts2
-rw-r--r--packages/0x.js/test/utils/chai_setup.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/0x.js/test/global_hooks.ts b/packages/0x.js/test/global_hooks.ts
index 88f202761..53b3ef545 100644
--- a/packages/0x.js/test/global_hooks.ts
+++ b/packages/0x.js/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/0x.js/test/utils/chai_setup.ts b/packages/0x.js/test/utils/chai_setup.ts
index 078edd309..1a8733093 100644
--- a/packages/0x.js/test/utils/chai_setup.ts
+++ b/packages/0x.js/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);