diff options
author | Trivikram Kamat <16024985+trivikr@users.noreply.github.com> | 2020-10-03 13:19:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-04 07:19:11 +1100 |
commit | d0eb179132c60a7c2513c9d19db03e3d5ca00c70 (patch) | |
tree | 627339e0dc2212ed861184d46b6af31605224d24 /cli/tests/unit | |
parent | 391eed42f41bd277fff936192b474bfd52eaa1a0 (diff) |
docs: end sentences with a period in markdown (#7813)
Diffstat (limited to 'cli/tests/unit')
-rw-r--r-- | cli/tests/unit/README.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cli/tests/unit/README.md b/cli/tests/unit/README.md index e15ad7080..4d70ada78 100644 --- a/cli/tests/unit/README.md +++ b/cli/tests/unit/README.md @@ -26,13 +26,13 @@ unitTest({ `unitTest` is is a wrapper function that enhances `Deno.test()` API in several ways: -- ability to conditionally skip tests using `UnitTestOptions.skip` +- ability to conditionally skip tests using `UnitTestOptions.skip`. - ability to register required set of permissions for given test case using - `UnitTestOptions.perms` + `UnitTestOptions.perms`. - sanitization of resources - ensuring that tests close all opened resources - preventing interference between tests + preventing interference between tests. - sanitization of async ops - ensuring that tests don't leak async ops by - ensuring that all started async ops are done before test finishes + ensuring that all started async ops are done before test finishes. ## Running tests @@ -50,13 +50,13 @@ There are three ways to run `unit_test_runner.ts`: target/debug/deno run -A cli/tests/unit/unit_test_runner.ts --master # By default all output of worker processes is discarded; for debug purposes -# the --verbose flag preserves output from the worker +# the --verbose flag preserves output from the worker. target/debug/deno run -A cli/tests/unit/unit_test_runner.ts --master --verbose -# Run subset of tests that don't require any permissions +# Run subset of tests that don't require any permissions. target/debug/deno run --unstable cli/tests/unit/unit_test_runner.ts -# Run subset tests that require "net" and "read" permissions +# Run subset tests that require "net" and "read" permissions. target/debug/deno run --unstable --allow-net --allow-read cli/tests/unit/unit_test_runner.ts # "worker" mode communicates with parent using TCP socket on provided address; @@ -64,7 +64,7 @@ target/debug/deno run --unstable --allow-net --allow-read cli/tests/unit/unit_te # directly, only be "master" process. target/debug/deno run -A cli/tests/unit/unit_test_runner.ts --worker --addr=127.0.0.1:4500 --perms=net,write,run -# Run specific tests +# Run specific tests. target/debug/deno run --unstable --allow-net cli/tests/unit/unit_test_runner.ts -- netTcpListenClose RUST_BACKTRACE=1 cargo run -- run --unstable --allow-read --allow-write cli/tests/unit/unit_test_runner.ts -- netUnixDialListen |