From 292aab9b1820a3eae52089e92672f12d5dfe1899 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 6 Oct 2017 13:07:01 +0300 Subject: Use BlockParamLiteral types --- test/token_wrapper_test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/token_wrapper_test.ts') diff --git a/test/token_wrapper_test.ts b/test/token_wrapper_test.ts index 17f4ac875..50f2db2ac 100644 --- a/test/token_wrapper_test.ts +++ b/test/token_wrapper_test.ts @@ -19,7 +19,7 @@ import { } from '../src'; import {BlockchainLifecycle} from './utils/blockchain_lifecycle'; import {TokenUtils} from './utils/token_utils'; -import {DoneCallback} from '../src/types'; +import {DoneCallback, BlockParamLiteral} from '../src/types'; chaiSetup.configure(); const expect = chai.expect; @@ -421,8 +421,8 @@ describe('TokenWrapper', () => { let tokenAddress: string; let tokenTransferProxyAddress: string; const subscriptionOpts: SubscriptionOpts = { - fromBlock: 'earliest', - toBlock: 'latest', + fromBlock: BlockParamLiteral.Earliest, + toBlock: BlockParamLiteral.Latest, }; let txHash: string; before(async () => { -- cgit