aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-05-29 19:34:49 +0800
committerFabio Berger <me@fabioberger.com>2017-05-29 19:34:49 +0800
commit232e03195974403878f303a59f0ff8669b54f205 (patch)
treebc988a7aeca1c5d1e11484c5a1cccbdec3df6e6e
parent4a3a20ef43827e87abfbdfa68c1197319dcbcc66 (diff)
downloaddexon-sol-tools-232e03195974403878f303a59f0ff8669b54f205.tar
dexon-sol-tools-232e03195974403878f303a59f0ff8669b54f205.tar.gz
dexon-sol-tools-232e03195974403878f303a59f0ff8669b54f205.tar.bz2
dexon-sol-tools-232e03195974403878f303a59f0ff8669b54f205.tar.lz
dexon-sol-tools-232e03195974403878f303a59f0ff8669b54f205.tar.xz
dexon-sol-tools-232e03195974403878f303a59f0ff8669b54f205.tar.zst
dexon-sol-tools-232e03195974403878f303a59f0ff8669b54f205.zip
don't use uppercase for constant variable unless it's global to the entire file
-rw-r--r--test/0x.js_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts
index 5dbb781ab..b8eece5d4 100644
--- a/test/0x.js_test.ts
+++ b/test/0x.js_test.ts
@@ -12,7 +12,7 @@ const expect = chai.expect;
describe('ZeroEx library', () => {
describe('#getOrderHash', () => {
- const ORDER_HASH = '0x103a5e97dab5dbeb8f385636f86a7d1e458a7ccbe1bd194727f0b2f85ab116c7';
+ const expectedOrderHash = '0x103a5e97dab5dbeb8f385636f86a7d1e458a7ccbe1bd194727f0b2f85ab116c7';
it('defaults takerAddress to NULL address', () => {
const orderHash = ZeroEx.getOrderHashHex(
constants.NULL_ADDRESS,
@@ -28,7 +28,7 @@ describe('ZeroEx library', () => {
new BigNumber(0),
new BigNumber(0),
);
- expect(orderHash).to.be.equal(ORDER_HASH);
+ expect(orderHash).to.be.equal(expectedOrderHash);
});
it('calculates the order hash', () => {
const orderHash = ZeroEx.getOrderHashHex(
@@ -45,7 +45,7 @@ describe('ZeroEx library', () => {
new BigNumber(0),
new BigNumber(0),
);
- expect(orderHash).to.be.equal(ORDER_HASH);
+ expect(orderHash).to.be.equal(expectedOrderHash);
});
});
describe('#isValidSignature', () => {