aboutsummaryrefslogtreecommitdiffstats
path: root/test/token_registry_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-06-22 22:21:56 +0800
committerGitHub <noreply@github.com>2017-06-22 22:21:56 +0800
commit94cab6f694027d47971d661bca33beac42f4ade1 (patch)
treec411ec567878a8178aa64313bd9b76dfcb455fc7 /test/token_registry_wrapper_test.ts
parent25a9ba90f508e0d147c060f60a9e3683e07d45e4 (diff)
downloaddexon-0x-contracts-94cab6f694027d47971d661bca33beac42f4ade1.tar.gz
dexon-0x-contracts-94cab6f694027d47971d661bca33beac42f4ade1.tar.zst
dexon-0x-contracts-94cab6f694027d47971d661bca33beac42f4ade1.zip
Revert "Use different lodash import syntax which allows to include only used functions"
Diffstat (limited to 'test/token_registry_wrapper_test.ts')
-rw-r--r--test/token_registry_wrapper_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/token_registry_wrapper_test.ts b/test/token_registry_wrapper_test.ts
index d7c8a7a95..da436161c 100644
--- a/test/token_registry_wrapper_test.ts
+++ b/test/token_registry_wrapper_test.ts
@@ -1,4 +1,4 @@
-import each = require('lodash/each');
+import * as _ from 'lodash';
import 'mocha';
import * as chai from 'chai';
import {chaiSetup} from './utils/chai_setup';
@@ -32,7 +32,7 @@ describe('TokenRegistryWrapper', () => {
expect(tokens).to.have.lengthOf(TOKEN_REGISTRY_SIZE_AFTER_MIGRATION);
const schemaValidator = new SchemaValidator();
- each(tokens, token => {
+ _.each(tokens, token => {
const validationResult = schemaValidator.validate(token, tokenSchema);
expect(validationResult.errors).to.have.lengthOf(0);
});