aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test/utils/fill_scenarios.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/0x.js/test/utils/fill_scenarios.ts')
-rw-r--r--packages/0x.js/test/utils/fill_scenarios.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/packages/0x.js/test/utils/fill_scenarios.ts b/packages/0x.js/test/utils/fill_scenarios.ts
index bcaa63c78..7275684a6 100644
--- a/packages/0x.js/test/utils/fill_scenarios.ts
+++ b/packages/0x.js/test/utils/fill_scenarios.ts
@@ -29,9 +29,7 @@ export class FillScenarios {
public async initTokenBalancesAsync() {
const web3Wrapper = (this.zeroEx as any)._web3Wrapper as Web3Wrapper;
for (const token of this.tokens) {
- if (token.symbol === 'WETH') {
- // _.noop
- } else if (token.symbol !== 'ZRX') {
+ if (token.symbol !== 'ZRX' && token.symbol !== 'WETH') {
const contractInstance = web3Wrapper.getContractInstance(
artifacts.DummyTokenArtifact.abi, token.address,
);
@@ -41,8 +39,6 @@ export class FillScenarios {
from: this.coinbase,
});
await this.zeroEx.awaitTransactionMinedAsync(txHash);
- } else {
- // no-op
}
}
}