1 CONSOLE ERROR: line 15: WebSocket connection to 'ws://localhost:8880/handshake-fail-by-404' failed: Error during WebSocket handshake: Unexpected response code: 404
2 Connection should fail immediately if the server returns a 404 error.
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS onerror() was called
8 PASS successfullyParsed is true