javascript-sdk icon indicating copy to clipboard operation
javascript-sdk copied to clipboard

tests: integration vs unit

Open notatestuser opened this issue 5 years ago • 0 comments

The tests we have now are integration tests because they trigger actions on the blockchain. These can be really flaky and break often!

In unit tests, I would propose that we run the method to generate the tx (e.g. placeOrder) and return the sign bytes so that we can assert that they match what we expect.

notatestuser avatar Jun 24 '19 09:06 notatestuser