chore: add running TSC to test README (#5852)

This commit is contained in:
Jack Franklin 2020-05-13 09:20:33 +01:00 committed by GitHub
parent c6d01c950e
commit f5d2597bac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,12 @@ Despite being named 'unit', these are integration tests, making sure public API
npm run unit
```
- __Important__: don't forget to first run TypeScript if you're testing local changes:
```bash
npm run tsc && npm run unit
```
- To run a specific test, substitute the `it` with `it.only`:
```js