aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-06-07 04:28:32 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-06-07 04:28:32 +0800
commit643c77ded08d3082aff7ae47063d40c9c1fdb677 (patch)
treefe1615f0db90f76627bfb88874c19634321105bc /packages
parent76f01511a376fa72330d8847035491f0443e1668 (diff)
downloaddexon-sol-tools-643c77ded08d3082aff7ae47063d40c9c1fdb677.tar
dexon-sol-tools-643c77ded08d3082aff7ae47063d40c9c1fdb677.tar.gz
dexon-sol-tools-643c77ded08d3082aff7ae47063d40c9c1fdb677.tar.bz2
dexon-sol-tools-643c77ded08d3082aff7ae47063d40c9c1fdb677.tar.lz
dexon-sol-tools-643c77ded08d3082aff7ae47063d40c9c1fdb677.tar.xz
dexon-sol-tools-643c77ded08d3082aff7ae47063d40c9c1fdb677.tar.zst
dexon-sol-tools-643c77ded08d3082aff7ae47063d40c9c1fdb677.zip
Apply prettier
Diffstat (limited to 'packages')
-rw-r--r--packages/contracts/test/asset_proxy_owner.ts5
-rw-r--r--packages/contracts/test/token_registry.ts8
2 files changed, 10 insertions, 3 deletions
diff --git a/packages/contracts/test/asset_proxy_owner.ts b/packages/contracts/test/asset_proxy_owner.ts
index b0ba41d2a..cdf63645f 100644
--- a/packages/contracts/test/asset_proxy_owner.ts
+++ b/packages/contracts/test/asset_proxy_owner.ts
@@ -15,7 +15,10 @@ import {
} from '../src/contract_wrappers/generated/asset_proxy_owner';
import { MixinAuthorizableContract } from '../src/contract_wrappers/generated/mixin_authorizable';
import { artifacts } from '../src/utils/artifacts';
-import { expectRevertOrAlwaysFailingTransactionAsync, expectRevertOrContractCallFailedAsync } from '../src/utils/assertions';
+import {
+ expectRevertOrAlwaysFailingTransactionAsync,
+ expectRevertOrContractCallFailedAsync,
+} from '../src/utils/assertions';
import { chaiSetup } from '../src/utils/chai_setup';
import { constants } from '../src/utils/constants';
import { increaseTimeAndMineBlockAsync } from '../src/utils/increase_time';
diff --git a/packages/contracts/test/token_registry.ts b/packages/contracts/test/token_registry.ts
index e815705e7..eccb9222c 100644
--- a/packages/contracts/test/token_registry.ts
+++ b/packages/contracts/test/token_registry.ts
@@ -100,7 +100,9 @@ describe('TokenRegistry', () => {
await tokenRegWrapper.addTokenAsync(token1, owner);
const duplicateNameToken = _.assign({}, token2, { name: token1.name });
- return expectRevertOrAlwaysFailingTransactionAsync(tokenRegWrapper.addTokenAsync(duplicateNameToken, owner));
+ return expectRevertOrAlwaysFailingTransactionAsync(
+ tokenRegWrapper.addTokenAsync(duplicateNameToken, owner),
+ );
});
it('should throw if symbol already exists', async () => {
@@ -109,7 +111,9 @@ describe('TokenRegistry', () => {
symbol: token1.symbol,
});
- return expectRevertOrAlwaysFailingTransactionAsync(tokenRegWrapper.addTokenAsync(duplicateSymbolToken, owner));
+ return expectRevertOrAlwaysFailingTransactionAsync(
+ tokenRegWrapper.addTokenAsync(duplicateSymbolToken, owner),
+ );
});
});