README: Add some instructions for running typescript tests and linter.

This commit is contained in:
David Lattimore 2020-07-25 09:35:33 +10:00
parent 0a4e90c0f8
commit 7d80a49e89

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