diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-27 10:42:52 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-27 10:42:52 +0100 |
commit | edcd0b1f62da19c9a7a197fa982c9b19dcfd62f2 (patch) | |
tree | b858ebc67309aa6a4cf043584555d6d47c18cb64 | |
parent | 91b2f0baafa5fe1827ed13c56721b5f505564e7c (diff) | |
parent | 7d80a49e8956d13151b7db2d15b779e4015f25db (diff) |
Merge #5528
5528: README: Add some instructions for running typescript tests and linter. r=matklad a=davidlattimore
Co-authored-by: David Lattimore <[email protected]>
-rw-r--r-- | docs/dev/README.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/dev/README.md b/docs/dev/README.md index 2bb2f75bd..417352c9d 100644 --- a/docs/dev/README.md +++ b/docs/dev/README.md | |||
@@ -369,6 +369,16 @@ env UPDATE_EXPECT=1 cargo qt | |||
369 | 369 | ||
370 | After adding a new inline test you need to run `cargo xtest codegen` and also update the test data as described above. | 370 | After adding a new inline test you need to run `cargo xtest codegen` and also update the test data as described above. |
371 | 371 | ||
372 | ## TypeScript Tests | ||
373 | |||
374 | If you change files under `editors/code` and would like to run the tests and linter, install npm and run: | ||
375 | |||
376 | ```bash | ||
377 | cd editors/code | ||
378 | npm ci | ||
379 | npm run lint | ||
380 | ``` | ||
381 | |||
372 | # Logging | 382 | # Logging |
373 | 383 | ||
374 | Logging is done by both rust-analyzer and VS Code, so it might be tricky to | 384 | Logging is done by both rust-analyzer and VS Code, so it might be tricky to |