zenfuse.js
zenfuse.js copied to clipboard
Mock websockets in integration tests
We need a good solution for mocking ws in integration tests. Currently, all ws tests are e2e only. Would appreciate any help for it,
The perfect solution for me should:
- Doesn't open any ports or separate process
- Have easy access to work with mock data. Like nock works for now.
- I can write my server implementation for any exchange