aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils
diff options
context:
space:
mode:
authorkao <zichongkao@gmail.com>2018-12-08 08:35:00 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-13 01:19:31 +0800
commit93422eab55f674ed33168a4731884e54d5a9ca78 (patch)
treea3829d1abdfd07171319db5454d9a4336fc62888 /packages/order-utils
parent74e07b63de9688aa0dca2ce69863203766db6008 (diff)
downloaddexon-sol-tools-93422eab55f674ed33168a4731884e54d5a9ca78.tar.gz
dexon-sol-tools-93422eab55f674ed33168a4731884e54d5a9ca78.tar.zst
dexon-sol-tools-93422eab55f674ed33168a4731884e54d5a9ca78.zip
Implement prefer-template tslint rule
Diffstat (limited to 'packages/order-utils')
-rw-r--r--packages/order-utils/test/order_hash_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/order-utils/test/order_hash_test.ts b/packages/order-utils/test/order_hash_test.ts
index a85d4c81a..30fb15a37 100644
--- a/packages/order-utils/test/order_hash_test.ts
+++ b/packages/order-utils/test/order_hash_test.ts
@@ -70,7 +70,7 @@ describe('Order hashing', () => {
});
it('returns true if order hash is correct', () => {
const orderHashLength = 65;
- const isValid = orderHashUtils.isValidOrderHash('0x' + Array(orderHashLength).join('0'));
+ const isValid = orderHashUtils.isValidOrderHash(`0x${Array(orderHashLength).join('0')}`);
expect(isValid).to.be.true();
});
});