aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/tokens
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-08-13 13:20:43 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-08-17 08:31:21 +0800
commit633e6c38c8fe47a8a1ee6fc406704aefa6ed0b3a (patch)
tree4d1f56dd2c5aebb09de8aa67a08a0b4da4c45474 /packages/contracts/test/tokens
parenta4d6bc3190049996e68076eaf56762c05a71c88e (diff)
downloaddexon-0x-contracts-633e6c38c8fe47a8a1ee6fc406704aefa6ed0b3a.tar.gz
dexon-0x-contracts-633e6c38c8fe47a8a1ee6fc406704aefa6ed0b3a.tar.zst
dexon-0x-contracts-633e6c38c8fe47a8a1ee6fc406704aefa6ed0b3a.zip
Fix linting errors
Diffstat (limited to 'packages/contracts/test/tokens')
-rw-r--r--packages/contracts/test/tokens/erc721_token.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/contracts/test/tokens/erc721_token.ts b/packages/contracts/test/tokens/erc721_token.ts
index 0981e0f15..d61db7fbd 100644
--- a/packages/contracts/test/tokens/erc721_token.ts
+++ b/packages/contracts/test/tokens/erc721_token.ts
@@ -23,7 +23,7 @@ import { provider, txDefaults, web3Wrapper } from '../utils/web3_wrapper';
chaiSetup.configure();
const expect = chai.expect;
const blockchainLifecycle = new BlockchainLifecycle(web3Wrapper);
-
+// tslint:disable:no-unnecessary-type-assertion
describe('ERC721Token', () => {
let owner: string;
let spender: string;
@@ -53,7 +53,7 @@ describe('ERC721Token', () => {
provider,
txDefaults,
);
- logDecoder = new LogDecoder(web3Wrapper, token.address);
+ logDecoder = new LogDecoder(web3Wrapper);
await web3Wrapper.awaitTransactionSuccessAsync(
await token.mint.sendTransactionAsync(owner, tokenId, { from: owner }),
constants.AWAIT_TRANSACTION_MINED_MS,
@@ -276,3 +276,4 @@ describe('ERC721Token', () => {
});
});
});
+// tslint:enable:no-unnecessary-type-assertion