summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeng Yu <f3n67u@gmail.com>2021-08-21 20:32:05 +0800
committerGitHub <noreply@github.com>2021-08-21 14:32:05 +0200
commitcb8f34c325e66d1ed160d65e515f8afe3393cfaf (patch)
tree4a205eb4a9c59a03cddfa7305362d90983799fe0
parent4c1e56b2f07c36384a839e4f37efd07f94c71ba2 (diff)
doc(test): add --location to unit test command (#11793)
-rw-r--r--cli/tests/unit/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/README.md b/cli/tests/unit/README.md
index e1197fe9b..fef3ea98b 100644
--- a/cli/tests/unit/README.md
+++ b/cli/tests/unit/README.md
@@ -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