-
It is desirable to add the capability of mocking WebSockets and control the messages sent, as well as assert the messages received. A deep analysis is required.
-
### Current behavior:
We can use `cy.server()` and `cy.route(...)` to mock HTTP calls.
### Desired behavior:
The exact same thing for Websockets.
For apps using websockets quite heavily this would c…
-
MSW are actively working on websockets mocking: https://github.com/mswjs/msw/pull/2011
They have an RC release for 2.3 and the PR is ready for review, so I expect this to be out in the next few wee…
-
Would this addition be welcome? I could look into writing a PR for this.
-
1.删除mock相关
2.proxy配置如下:
proxy: {
'/api': {
target: 'http://localhost:8080', // API服务器的地址
ws: true, // 代理websockets
changeOrigin: true, // 虚拟的站点需要更管origin
…
-
See https://github.com/StreamElements/api-docs/blob/main/docs/Websockets.md, the link at the top, and the links in the `socket.on` comments are all broken.
-
This feature needs unit tests to be moved forward into a non-experimental stage.
We will need to use a library such as mock-socket to mock websockets.
-
### Describe the project you are working on
We are working on an application to help poor farmers in Colombia that communicates data via websockets, is an open source non-profit research project
…
-
In order to write tests for the message handling on the client the webSocket object will need to be mocked out.
Angular.dart provides out of the box injectable testing utilities (i.e. MockHttpBackend…
bbss updated
10 years ago
-
Find a mocking framework for websockets maybe nock? Need to add basic tests around handling of messages from the remote as some break the type system where we expect objects and they send slices.