Skip to content

Sample react application using custom-webpack-config and cypress code-coverage configuration with one sample test case.

Notifications You must be signed in to change notification settings

Prashika/sample-react-app-with-custom-webpack-config

Repository files navigation

sample-react-app-with-custom-webpack-config

  • Focused on sample react application using custom-webpack-config and cypress code-coverage configuration with one sample test case.

Implementation:

Getting Started with Create React App

This project was bootstrapped with Create React App.

npx create-react-app simple-react-application-with-jsx

Source Code:

Steps to run application, run tests and check code-coverage report:

  1. npm install (To install all node modules)

  2. npm run dev (To run application)

  3. npx cypress open To run test: (Cypress test runner window will be opened. There select spec.js file to run tests.)

  4. Check Coverage Report in Project Directory:

    coverage/lcov-report/index.html

Reference:

About

Sample react application using custom-webpack-config and cypress code-coverage configuration with one sample test case.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published