Skip to content

This app allows Addition of tests to the Math Magician App using Jest and React Testing Library.

Notifications You must be signed in to change notification settings

chuaindia/React-First-Project

Repository files navigation

React Project -Addition of tests to the Math Magician App using Jest and React Testing Library

The following features are incorporated in this branch of the project :

  • Unit tests for the files operate.js and calculate.js using Jest are written.
  • Unit tests for all React components are created.
  • Jest snapshots to test the components is used.
  • React Testing Library to simulate user interaction is used.

Built With

  • HTML
  • CSS
  • JavaScript
  • React
  • Gitflow
  • JEST

Getting Started

Create a repository. Clone it in local directory. Create React App. Create Branches properly to maintain Gitflow by making development branch and feature branch.Work according to the guideline.

Prerequisites

Setup

Install

To install linters and other project's dependencies run:

npm install

Run Test for Linters

For tracking linter errors locally you need to follow these steps:

  1. For tracking linter errors in HTML files run:
npx hint .
  1. For tracking linter errors in CSS or SASS files run:
npx stylelint "\*_/_.{css,scss}"
  1. For tracking linter errors in JavaScript files run:
npx eslint .

Author

👤 Tanusri Ghosh

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

About

This app allows Addition of tests to the Math Magician App using Jest and React Testing Library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •