diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-05-31 08:53:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-31 08:53:22 +0800 |
commit | 5b31d0aa3635ea524fb42d73cd6c713887dfef6a (patch) | |
tree | 5d80666f6521737879e2e700afd5ef1d1a55b0e6 /packages/contracts/test/exchange/libs.ts | |
parent | c0cf55b40bb4a13cfd94a506bf125f6eb57c6767 (diff) | |
parent | 79e7c44884f81f12733d555314c54d4c912f0e88 (diff) | |
download | dexon-sol-tools-5b31d0aa3635ea524fb42d73cd6c713887dfef6a.tar.gz dexon-sol-tools-5b31d0aa3635ea524fb42d73cd6c713887dfef6a.tar.zst dexon-sol-tools-5b31d0aa3635ea524fb42d73cd6c713887dfef6a.zip |
Merge pull request #561 from 0xProject/feature/contracts/txorigin
Add Validator signature type
Diffstat (limited to 'packages/contracts/test/exchange/libs.ts')
-rw-r--r-- | packages/contracts/test/exchange/libs.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/test/exchange/libs.ts b/packages/contracts/test/exchange/libs.ts index bbca54274..a3282876b 100644 --- a/packages/contracts/test/exchange/libs.ts +++ b/packages/contracts/test/exchange/libs.ts @@ -49,7 +49,6 @@ describe('Exchange libs', () => { beforeEach(async () => { await blockchainLifecycle.startAsync(); - signedOrder = orderFactory.newSignedOrder(); }); afterEach(async () => { await blockchainLifecycle.revertAsync(); @@ -69,7 +68,8 @@ describe('Exchange libs', () => { }); }); describe('getOrderHash', () => { - it('should output the correct order hash', async () => { + it('should output the correct orderHash', async () => { + signedOrder = orderFactory.newSignedOrder(); const orderHashHex = await libs.publicGetOrderHash.callAsync(signedOrder); expect(orderUtils.getOrderHashHex(signedOrder)).to.be.equal(orderHashHex); }); |