javascript-sdk
javascript-sdk copied to clipboard
tests: integration vs unit
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.