add task to update snapshots & update readme (#1302)

* add task to update snapshots & update readme

* remove test:app from readme & tweak
This commit is contained in:
David Luzar 2020-04-07 15:09:01 +02:00 committed by GitHub
parent 67805bc7a7
commit b7230b05d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View file

@ -39,15 +39,14 @@ git clone https://github.com/excalidraw/excalidraw.git
#### Commands
| Command | Description |
| ------------------- | --------------------------------- |
| `npm install` | Install the dependencies |
| `npm start` | Run the project |
| `npm run fix` | Reformat all files with Prettier |
| `npm run test:code` | Test for formatting with Prettier |
| `npm run test:app` | Test the app |
| `npm run test` | Run all tests |
| `npm run test -u` | Update all snapshots |
| Command | Description |
| --------------------- | --------------------------------- |
| `npm install` | Install the dependencies |
| `npm start` | Run the project |
| `npm run fix` | Reformat all files with Prettier |
| `npm test` | Run tests |
| `npm run test:update` | Update test snapshots |
| `npm run test:code` | Test for formatting with Prettier |
## Contributing