Skip to content

Commit edcd0b1

Browse files
Merge #5528
5528: README: Add some instructions for running typescript tests and linter. r=matklad a=davidlattimore Co-authored-by: David Lattimore <[email protected]>
2 parents 91b2f0b + 7d80a49 commit edcd0b1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/dev/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,16 @@ env UPDATE_EXPECT=1 cargo qt
369369

370370
After adding a new inline test you need to run `cargo xtest codegen` and also update the test data as described above.
371371

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+
372382
# Logging
373383

374384
Logging is done by both rust-analyzer and VS Code, so it might be tricky to

0 commit comments

Comments
 (0)