Fix order-utils tests

This commit is contained in:
Fabio Berger
2018-05-30 14:08:43 -07:00
parent 3302c89284
commit 32833b7301
7 changed files with 123 additions and 81 deletions

View File

@@ -39,7 +39,7 @@ describe('Order hashing', () => {
it('throws a readable error message if taker format is invalid', async () => {
const orderWithInvalidtakerFormat = {
...order,
taker: (null as any) as string,
takerAddress: (null as any) as string,
};
const expectedErrorMessage =
'Order taker must be of type string. If you want anyone to be able to fill an order - pass ZeroEx.NULL_ADDRESS';