Skip to content

Adnan-Sait/coverage-ejected-cra

Repository files navigation

A simple counter-App using React.js

This tiny application is like adding,removing,deleting, resetting products which reflects in the total number of products into our shopping cart.

This is a very basic app but useful to understand the React Components, states, Data Flow, parent to child etc. .

Live URL :-

Counter App

OR your can do the following to run in your local machine

Scripts

Install node modules

npm install

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

Cypress Tests

NOTE: Before running E2E tests, ensure that you're application is running on port 3000. Ensure you run npm start, before E2E tests.

Verify Cypress after npm install

npx cypress verify

Open Cypress

npm run cypress:open

Run E2E tests on CLI

NOTE: Ensure that your application is running on port 3000, before running this command.

npm run cypress-e2e

Run Component tests on CLI

npm run cypress-component

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages