aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-21 20:11:06 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-21 20:11:06 +0800
commita1c363a8af3cbfa2d843aaf7ddd05390db7b8f9b (patch)
tree7f4d4ee9ad766860288d22ee7875f70f0d951af0 /test
parent40a7be0690c81d2e42543aa075ef8da6606e7b7e (diff)
downloaddexon-sol-tools-a1c363a8af3cbfa2d843aaf7ddd05390db7b8f9b.tar.gz
dexon-sol-tools-a1c363a8af3cbfa2d843aaf7ddd05390db7b8f9b.tar.zst
dexon-sol-tools-a1c363a8af3cbfa2d843aaf7ddd05390db7b8f9b.zip
Fall back to import x = require() syntax
Diffstat (limited to 'test')
-rw-r--r--test/0x.js_test.ts4
-rw-r--r--test/schema_test.ts2
-rw-r--r--test/token_registry_wrapper_test.ts2
-rw-r--r--test/utils/order_factory.ts4
-rw-r--r--test/utils/token_utils.ts6
5 files changed, 9 insertions, 9 deletions
diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts
index b8e387f04..e50a6018c 100644
--- a/test/0x.js_test.ts
+++ b/test/0x.js_test.ts
@@ -1,5 +1,5 @@
-import each from 'lodash/each';
-import assign from 'lodash/assign';
+import each = require('lodash/each');
+import assign = require('lodash/assign');
import * as chai from 'chai';
import {chaiSetup} from './utils/chai_setup';
import 'mocha';
diff --git a/test/schema_test.ts b/test/schema_test.ts
index 28abdc2c3..72b08581a 100644
--- a/test/schema_test.ts
+++ b/test/schema_test.ts
@@ -1,5 +1,5 @@
import 'mocha';
-import forEach from 'lodash/forEach';
+import forEach = require('lodash/forEach');
import * as chai from 'chai';
import * as BigNumber from 'bignumber.js';
import promisify = require('es6-promisify');
diff --git a/test/token_registry_wrapper_test.ts b/test/token_registry_wrapper_test.ts
index 74a02aa40..d7c8a7a95 100644
--- a/test/token_registry_wrapper_test.ts
+++ b/test/token_registry_wrapper_test.ts
@@ -1,4 +1,4 @@
-import each from 'lodash/each';
+import each = require('lodash/each');
import 'mocha';
import * as chai from 'chai';
import {chaiSetup} from './utils/chai_setup';
diff --git a/test/utils/order_factory.ts b/test/utils/order_factory.ts
index ec16df22d..939d5df20 100644
--- a/test/utils/order_factory.ts
+++ b/test/utils/order_factory.ts
@@ -1,5 +1,5 @@
-import assign from 'lodash/assign';
-import isUndefined from 'lodash/isUndefined';
+import assign = require('lodash/assign');
+import isUndefined = require('lodash/isUndefined');
import * as BigNumber from 'bignumber.js';
import {ZeroEx, SignedOrder} from '../../src';
diff --git a/test/utils/token_utils.ts b/test/utils/token_utils.ts
index 658cfe864..00fa55260 100644
--- a/test/utils/token_utils.ts
+++ b/test/utils/token_utils.ts
@@ -1,6 +1,6 @@
-import find from 'lodash/find';
-import filter from 'lodash/filter';
-import isUndefined from 'lodash/isUndefined';
+import find = require('lodash/find');
+import filter = require('lodash/filter');
+import isUndefined = require('lodash/isUndefined');
import {Token, ZeroExError} from '../../src';
const PROTOCOL_TOKEN_SYMBOL = 'ZRX';