aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/exchange/libs.ts
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-05-31 08:53:22 +0800
committerGitHub <noreply@github.com>2018-05-31 08:53:22 +0800
commit5b31d0aa3635ea524fb42d73cd6c713887dfef6a (patch)
tree5d80666f6521737879e2e700afd5ef1d1a55b0e6 /packages/contracts/test/exchange/libs.ts
parentc0cf55b40bb4a13cfd94a506bf125f6eb57c6767 (diff)
parent79e7c44884f81f12733d555314c54d4c912f0e88 (diff)
downloaddexon-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.ts4
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);
});