mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
README: Add some instructions for running typescript tests and linter.
This commit is contained in:
parent
0a4e90c0f8
commit
7d80a49e89
1 changed files with 10 additions and 0 deletions
|
@ -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.
|
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
|
||||||
|
|
||||||
Logging is done by both rust-analyzer and VS Code, so it might be tricky to
|
Logging is done by both rust-analyzer and VS Code, so it might be tricky to
|
||||||
|
|
Loading…
Reference in a new issue