lmiller1990 / cypress-react-template

Component Testing with Cypress and React
15 stars 12 forks source link

README.suggests to injectDevServer , but the example doesn't do it #11

Open michael-freidgeim-webjet opened 1 year ago

michael-freidgeim-webjet commented 1 year ago

README.md#configuring-cypress-component-testing suggests Create that file and add:

const injectDevServer = require("@cypress

The same instructions are in blog https://www.cypress.io/blog/2021/04/06/cypress-component-testing-react/

But there is no such code in https://github.com/lmiller1990/cypress-react-template/blob/master/cypress/plugins/index.js