()
| 885 | }; |
| 886 | |
| 887 | const teardown = async () => { |
| 888 | for (const client of backendWss.clients) { |
| 889 | client.terminate(); |
| 890 | } |
| 891 | backendWss.close(); |
| 892 | backend.closeAllConnections(); |
| 893 | await server.stop(); |
| 894 | await new Promise((resolve) => { |
| 895 | backend.close(resolve); |
| 896 | }); |
| 897 | }; |
| 898 | |
| 899 | // Open a WebSocket to `path` and report whether the dev-server completed the |
| 900 | // handshake (`opened`) and whether the upgrade was forwarded to the backend |
nothing calls this directly
no test coverage detected
searching dependent graphs…