Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Add react-scripts-ts to development-time dependencies #257

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,14 @@ it('throws when the enthusiasm level is negative', () => {

These tests are extremely basic, but you should be able to get the gist of things.

Notice:

If you find yourself getting an error when trying to run ```npm run test``` after installing enzyme make sure react-script-ts is installed in your package.json file under "devDependencies". If not, this can be installed as a development-time dependency using the follow command:

```sh
npm install -D [email protected]
```

# Adding state management

At this point, if all you're using React for is fetching data once and displaying it, you can consider yourself done.
Expand Down