zenfuse.js icon indicating copy to clipboard operation
zenfuse.js copied to clipboard

Mock websockets in integration tests

Open izzqz opened this issue 3 years ago • 0 comments

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

izzqz avatar Jun 10 '22 00:06 izzqz