aboutsummaryrefslogtreecommitdiffstats
path: root/test/token_registry_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-06-21 21:04:13 +0800
committerGitHub <noreply@github.com>2017-06-21 21:04:13 +0800
commit8af7d2303ecf9d4d3cdc967a81ef577b9f8739d3 (patch)
tree15b9aa5b849d896248541722b7f2dfed6c458749 /test/token_registry_wrapper_test.ts
parentef96c58b7f7d0ce678e8eb4f662b2f6a31e8799a (diff)
parenta1c363a8af3cbfa2d843aaf7ddd05390db7b8f9b (diff)
downloaddexon-sol-tools-8af7d2303ecf9d4d3cdc967a81ef577b9f8739d3.tar
dexon-sol-tools-8af7d2303ecf9d4d3cdc967a81ef577b9f8739d3.tar.gz
dexon-sol-tools-8af7d2303ecf9d4d3cdc967a81ef577b9f8739d3.tar.bz2
dexon-sol-tools-8af7d2303ecf9d4d3cdc967a81ef577b9f8739d3.tar.lz
dexon-sol-tools-8af7d2303ecf9d4d3cdc967a81ef577b9f8739d3.tar.xz
dexon-sol-tools-8af7d2303ecf9d4d3cdc967a81ef577b9f8739d3.tar.zst
dexon-sol-tools-8af7d2303ecf9d4d3cdc967a81ef577b9f8739d3.zip
Merge pull request #71 from 0xProject/lodash-tree-shake
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 da436161c..d7c8a7a95 100644
--- a/test/token_registry_wrapper_test.ts
+++ b/test/token_registry_wrapper_test.ts
@@ -1,4 +1,4 @@
-import * as _ from 'lodash';
+import each = require('lodash/each');
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);
});