Glossary: Real-Time Apps with WebSockets
Port 0
Also written: listen({ port: 0 })
Asking the system to pick any free port. Tests listen on port 0 so they never clash with a server already running on 3000.
Glossary: Real-Time Apps with WebSockets
Also written: listen({ port: 0 })
Asking the system to pick any free port. Tests listen on port 0 so they never clash with a server already running on 3000.