aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/test
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-12-05 12:04:08 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-12-05 12:04:08 +0800
commit00f86ca0f7871639d2b0be496f6f8c5e0d8d7ffe (patch)
treee2e1c5394deac225bf493b3fe51da9f3074f1691 /packages/pipeline/test
parent549f5e4655f246062dd6451065ec01eb789dbd8f (diff)
downloaddexon-0x-contracts-00f86ca0f7871639d2b0be496f6f8c5e0d8d7ffe.tar.gz
dexon-0x-contracts-00f86ca0f7871639d2b0be496f6f8c5e0d8d7ffe.tar.zst
dexon-0x-contracts-00f86ca0f7871639d2b0be496f6f8c5e0d8d7ffe.zip
Address PR feedback
Diffstat (limited to 'packages/pipeline/test')
-rw-r--r--packages/pipeline/test/entities/token_metadata_test.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/pipeline/test/entities/token_metadata_test.ts b/packages/pipeline/test/entities/token_metadata_test.ts
index 805b4b0f7..48e656644 100644
--- a/packages/pipeline/test/entities/token_metadata_test.ts
+++ b/packages/pipeline/test/entities/token_metadata_test.ts
@@ -1,3 +1,4 @@
+import { BigNumber } from '@0x/utils';
import 'mocha';
import 'reflect-metadata';
@@ -9,15 +10,15 @@ import { testSaveAndFindEntityAsync } from './util';
chaiSetup.configure();
-const metadataWithoutNullFields = {
+const metadataWithoutNullFields: TokenMetadata = {
address: '0xe41d2489571d322189246dafa5ebde1f4699f498',
authority: 'https://website-api.0xproject.com/tokens',
- decimals: 18,
+ decimals: new BigNumber(18),
symbol: 'ZRX',
name: '0x',
};
-const metadataWithNullFields = {
+const metadataWithNullFields: TokenMetadata = {
address: '0xe41d2489571d322189246dafa5ebde1f4699f499',
authority: 'https://website-api.0xproject.com/tokens',
decimals: null,