ignore generated wrappers and asset-swapper (#591)

This commit is contained in:
eobbad
2022-09-26 16:05:55 -04:00
committed by GitHub
parent c9b1aac8a5
commit b6597df84f
17 changed files with 43 additions and 96 deletions

View File

@@ -55,7 +55,7 @@ describe('Order hashing', () => {
it('throws a readable error message if taker format is invalid', async () => {
const orderWithInvalidtakerFormat = {
...order,
takerAddress: (null as any) as string,
takerAddress: null as any as string,
};
const expectedErrorMessage = `Expected order to conform to schema`;
expect(() => orderHashUtils.getOrderHashHex(orderWithInvalidtakerFormat)).to.throw(expectedErrorMessage);