diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-11-23 17:45:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-23 17:45:18 +0100 |
| commit | bedb2adfb065c1b0d3bcb773fbeff91230402b6b (patch) | |
| tree | b4d90c36f2409f7f9b6247b74e9c111a38befcdf /cli/tests/unit/README.md | |
| parent | 51e3db956a5927229e3f46f4eaaf317e935f8f17 (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.md | 8 |
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 }, |
