fastify / fastify-websocket

basic websocket support for fastify
MIT License
400 stars 74 forks source link

Local Testing fails with "Should not hijack reply"-tests #234

Open Uzlopak opened 1 year ago

Uzlopak commented 1 year ago

Prerequisites

Issue

It is strange. Locally the "Should not hijack reply for an WS request to a WS route that gets sent a normal HTTP response in a hook"-test fails. If I change the t.plan to 5 instead of 6 it passes locally.

I dont know why. In the ci-cd pipeline it works as expected.

mcollina commented 1 year ago

It does not happen on my machine, all tests pass here.