summaryrefslogtreecommitdiff
path: root/cli/tests/unit/README.md
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-11-23 17:45:18 +0100
committerGitHub <noreply@github.com>2021-11-23 17:45:18 +0100
commitbedb2adfb065c1b0d3bcb773fbeff91230402b6b (patch)
treeb4d90c36f2409f7f9b6247b74e9c111a38befcdf /cli/tests/unit/README.md
parent51e3db956a5927229e3f46f4eaaf317e935f8f17 (diff)
refactor: remove "unitTest" wrapper from cli/tests/unit (#12750)
Diffstat (limited to 'cli/tests/unit/README.md')
-rw-r--r--cli/tests/unit/README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/tests/unit/README.md b/cli/tests/unit/README.md
index adaa1ed0e..0d9e17554 100644
--- a/cli/tests/unit/README.md
+++ b/cli/tests/unit/README.md
@@ -4,16 +4,16 @@ Files in this directory are unit tests for Deno runtime.
Testing Deno runtime code requires checking API under different runtime
permissions. To accomplish this all tests exercised are created using
-`unitTest()` function.
+`Deno.test()` function.
```ts
-import { unitTest } from "./test_util.ts";
+import {} from "./test_util.ts";
-unitTest(function simpleTestFn(): void {
+Deno.test(function simpleTestFn(): void {
// test code here
});
-unitTest(
+Deno.test(
{
ignore: Deno.build.os === "windows",
permissions: { read: true, write: true },