From bedb2adfb065c1b0d3bcb773fbeff91230402b6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 23 Nov 2021 17:45:18 +0100 Subject: refactor: remove "unitTest" wrapper from cli/tests/unit (#12750) --- cli/tests/unit/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cli/tests/unit/README.md') 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 }, -- cgit v1.2.3