Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <[email protected]>
  • Loading branch information
mcollina committed Jan 7, 2025
1 parent c892a8c commit 4bd935e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/subscription.js
Original file line number Diff line number Diff line change
Expand Up @@ -2694,7 +2694,7 @@ test('wrong messages do not crash the server', async (t) => {

t.teardown(fastify.close.bind(fastify))

const ws = new WebSocket(`ws://127.0.0.1:${fastify.server.address().port}/graphql`, 'graphql-ws')
const ws = new WebSocket(`ws://localhost:${fastify.server.address().port}/graphql`, 'graphql-ws')

await once(ws, 'open')
ws._socket.write(Buffer.from([0xa2, 0x00]))
Expand Down

0 comments on commit 4bd935e

Please sign in to comment.