Skip to content

Add a Cypress example for reusing MSW handlers#134

Open
nickyhaze wants to merge 1 commit intomswjs:mainfrom
nickyhaze:with-cypress
Open

Add a Cypress example for reusing MSW handlers#134
nickyhaze wants to merge 1 commit intomswjs:mainfrom
nickyhaze:with-cypress

Conversation

@nickyhaze
Copy link

Summary:

  • add a standalone with-cypress workspace example that reuses MSW handlers through cy.intercept()
  • add Jest coverage and a TypeScript check for the Cypress/MSW bridge
  • document the example in the repo README and validate it in CI

Testing:

  • pnpm test --filter with-cypress
  • pnpm --filter with-cypress run test:types

@nickyhaze
Copy link
Author

@kettanaito what do you think of this example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant