5528: README: Add some instructions for running typescript tests and linter. r=matklad a=davidlattimore



Co-authored-by: David Lattimore <dml@google.com>
This commit is contained in:
bors[bot] 2020-07-27 09:42:52 +00:00 committed by GitHub
commit edcd0b1f62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -369,6 +369,16 @@ env UPDATE_EXPECT=1 cargo qt
After adding a new inline test you need to run `cargo xtest codegen` and also update the test data as described above.
## TypeScript Tests
If you change files under `editors/code` and would like to run the tests and linter, install npm and run:
```bash
cd editors/code
npm ci
npm run lint
```
# Logging
Logging is done by both rust-analyzer and VS Code, so it might be tricky to