Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/emilyjspencer/tdd-react-2

➕ Test driving a React application with Jest and Enzyme http://limping-blade.surge.sh/
https://github.com/emilyjspencer/tdd-react-2

enzyme jest react tdd

Last synced: 4 days ago
JSON representation

➕ Test driving a React application with Jest and Enzyme http://limping-blade.surge.sh/

Awesome Lists containing this project

README

        

# Calculator

This calculator works exactly how you would expect a simple calculator to work: it can perform addition, subtraction, multiplication and division. Pressing the 'ce' button deletes a value.

**Calculator** is deployed with **Surge** at: [this link](http://limping-blade.surge.sh/)!

# How to run

* Clone the repo:
```html
git clone https://github.com/emilyjspencer/tdd-react-2.git
```

* Cd into the repo
* Run the following to install the dependencies:
```html
npm install
```
* Run the following to open the calculator in the browser:
```html
npm start
```

# Built with:
* React
* CSS

# Tested with:
* Enzyme
* Jest

# What it looks like:

![initial](initial.png)
![multiplication](multiplication.png)
![mulitplicationpink](multiplication_pink.png)
![colour_change](colour_change.png)

### Deployed with Surge at: [this link](http://limping-blade.surge.sh/)!