aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/token_registry.ts
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/contracts/test/token_registry.ts
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/contracts/test/token_registry.ts')
-rw-r--r--packages/contracts/test/token_registry.ts8
1 files changed, 6 insertions, 2 deletions
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),
+ );
});
});