1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00

doc(test): add --location to unit test command (#11793)

This commit is contained in:
Feng Yu 2021-08-21 20:32:05 +08:00 committed by GitHub
parent 4c1e56b2f0
commit cb8f34c325
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,10 +30,10 @@ There are two ways to run `unit_test_runner.ts`:
```sh
# Run all tests.
target/debug/deno test --allow-all --unstable cli/tests/unit/
target/debug/deno test --allow-all --unstable --location=http://js-unit-tests/foo/bar cli/tests/unit/
# Run a specific test module
target/debug/deno test --allow-all --unstable cli/tests/unit/files_test.ts
target/debug/deno test --allow-all --unstable --location=http://js-unit-tests/foo/bar cli/tests/unit/files_test.ts
```
### Http server