aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/test
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-11 19:11:50 +0800
committerFabio Berger <me@fabioberger.com>2018-05-11 19:11:50 +0800
commit294a65f84224e85b7dbeee7eace02578906e49dd (patch)
tree692188f61a013702280d20f9c6ba7cd4c71a22b6 /packages/contract-wrappers/test
parentbf8550ae1ed1685e8dc4fe5ae15cdbe577a07644 (diff)
downloaddexon-0x-contracts-294a65f84224e85b7dbeee7eace02578906e49dd.tar.gz
dexon-0x-contracts-294a65f84224e85b7dbeee7eace02578906e49dd.tar.zst
dexon-0x-contracts-294a65f84224e85b7dbeee7eace02578906e49dd.zip
Fix prettier
Diffstat (limited to 'packages/contract-wrappers/test')
-rw-r--r--packages/contract-wrappers/test/exchange_transfer_simulator_test.ts4
-rw-r--r--packages/contract-wrappers/test/token_registry_wrapper_test.ts4
2 files changed, 6 insertions, 2 deletions
diff --git a/packages/contract-wrappers/test/exchange_transfer_simulator_test.ts b/packages/contract-wrappers/test/exchange_transfer_simulator_test.ts
index 0011f0626..b4ea91181 100644
--- a/packages/contract-wrappers/test/exchange_transfer_simulator_test.ts
+++ b/packages/contract-wrappers/test/exchange_transfer_simulator_test.ts
@@ -111,7 +111,9 @@ describe('ExchangeTransferSimulator', () => {
const senderProxyAllowance = await store.getProxyAllowanceAsync(exampleTokenAddress, sender);
expect(senderBalance).to.be.bignumber.equal(0);
expect(recipientBalance).to.be.bignumber.equal(transferAmount);
- expect(senderProxyAllowance).to.be.bignumber.equal(contractWrappers.token.UNLIMITED_ALLOWANCE_IN_BASE_UNITS);
+ expect(senderProxyAllowance).to.be.bignumber.equal(
+ contractWrappers.token.UNLIMITED_ALLOWANCE_IN_BASE_UNITS,
+ );
});
});
});
diff --git a/packages/contract-wrappers/test/token_registry_wrapper_test.ts b/packages/contract-wrappers/test/token_registry_wrapper_test.ts
index 1b8ce4d74..a21efed21 100644
--- a/packages/contract-wrappers/test/token_registry_wrapper_test.ts
+++ b/packages/contract-wrappers/test/token_registry_wrapper_test.ts
@@ -86,7 +86,9 @@ describe('TokenRegistryWrapper', () => {
});
describe('#getTokenAddressByName', () => {
it('should return correct address for a token in the registry', async () => {
- const tokenAddress = await contractWrappers.tokenRegistry.getTokenAddressByNameIfExistsAsync(registeredName);
+ const tokenAddress = await contractWrappers.tokenRegistry.getTokenAddressByNameIfExistsAsync(
+ registeredName,
+ );
expect(tokenAddress).to.be.equal(tokenAddressByName[registeredName]);
});
it('should return undefined for a token out of registry', async () => {