{"library":"cypress-websocket-server","type":"library","category":null,"description":"A Cypress plugin for mocking WebSocket servers during end-to-end tests. Version 0.1.2 is stable but low-activity. It allows defining a sequence of server and client messages in a JSON fixture file, enabling deterministic testing of WebSocket interactions. The plugin listens on localhost:1999 and enforces ordered message exchanges. Compared to other WebSocket mocking libraries, it integrates directly with Cypress commands and fixtures.","language":"javascript","status":"maintenance","version":"0.1.2","tags":["javascript","cypress","websocket","fixtures","plugin"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install cypress-websocket-server","imports":["import { addCommand } from 'cypress-websocket-server';","const { startMockWsServer } = require('cypress-websocket-server');","import cws from 'cypress-websocket-server';"]},{"cmd":"yarn add cypress-websocket-server","imports":[]},{"cmd":"pnpm add cypress-websocket-server","imports":[]}],"homepage":"https://github.com/vgeorge/cypress-websocket-server#readme","github":"https://github.com/vgeorge/cypress-websocket-server","docs":null,"changelog":null,"pypi":null,"npm":"cypress-websocket-server","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}