summaryrefslogtreecommitdiff
path: root/cli/tests/unit/README.md
diff options
context:
space:
mode:
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 },