Skip to content

An example app to show issues when using cypress-react-unit-test with @rails/webpacker

Notifications You must be signed in to change notification settings

bahmutov/react-testing-rails-webpacker

 
 

Repository files navigation

react-testing-rails-webpacker

cypress version cypress-react-unit-test version

This is a app generated using @rails/webpacker with react and typescript defaults and using cypress-react-unit-test to write React component tests

Known problems

  • code coverage is not working yet (something about nyc not loading its dependencies)
  • make sure the Webpack config is set to development and NOT to production
// config/webpack/development.js
const config = environment.toWebpackConfig()
config.set('mode', 'development')

About

An example app to show issues when using cypress-react-unit-test with @rails/webpacker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 64.9%
  • JavaScript 18.2%
  • HTML 13.7%
  • CSS 1.7%
  • TypeScript 1.5%