Files
cypress/packages/rewriter
Jennifer Shehane 191fa02d1b chore: replace mocha.opts with .mocharc.js for packages that are mocha version 6+ (#31518)
* chore: replace mocha.opts with .mocharc.js for packages that are mocha version 6+

* move the mocharc file into the package root

* fix mocha reporter config location

* fix route to reporter-config

* store artifacts for unit tests

* move cli mocharc file to root of package

* remove storing artifacts

* remove js extension from errors mocharc
2025-04-17 10:39:15 -04:00
..

rewriter

This package contains logic for rewriting JS/HTML that flows through the Cypress proxy.

Testing

Tests are located in ./test

To run tests:

yarn test

Additionally, the server and proxy packages contain integration tests that exercise the rewriter.