/calc-test

An example of a basic calculator built using React

Primary LanguageJavaScript

Basic calculator built using React

The calculator can be seen in action at http://benwatson.uk/work/calc/

To install and run

Clone the repository and run

npm install

After all required packages are installed run

npm start

That's it! Navigate to the stated port and try out some basic calculations.

To test the application

The tests for the application can be run by typing

npm test

To run the tests with coverage:

npm test -- --coverage

Notes

This project was bootstrapped with Create React App.

I wouldn't recommend using this calculator for anything important 😂