From 7d80a49e8956d13151b7db2d15b779e4015f25db Mon Sep 17 00:00:00 2001 From: David Lattimore Date: Sat, 25 Jul 2020 09:35:33 +1000 Subject: README: Add some instructions for running typescript tests and linter. --- docs/dev/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs') 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 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 -- cgit v1.2.3