Files
cypress/packages/https-proxy
Bill Glesias f7e684174c chore: refactor server files to TypeScript (#32838)
* convert file_server to TypeScript

* chore: convert random to TypeScript

* convert a handful of files to TypeScript
2025-10-31 12:39:02 -04:00
..

HTTPS Proxy

This package is responsible for acting as a CA authority and generating dynamic certificates on the fly for outbound HTTPS connections.

This package enables Cypress to inspect and modify bytes coming in and out of the browser.

Testing

Since vitest runs specs in parallel by default, we get collisions in the proxy.spec.ts and server.spec.ts as there is a proxy server running in the background for proxy.spec.ts while we are testing the implements of server.spec.ts. These tests cannot run at the same time, hence why we leverage the no-file-parallelism option.

yarn workspace @packages/https-proxy test
yarn workspace @packages/https-proxy test-watch
yarn workspace @packages/https-proxy test-debug