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/path_from_url_test.ts | |
parent | 51e3db956a5927229e3f46f4eaaf317e935f8f17 (diff) |
refactor: remove "unitTest" wrapper from cli/tests/unit (#12750)
Diffstat (limited to 'cli/tests/unit/path_from_url_test.ts')
-rw-r--r-- | cli/tests/unit/path_from_url_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/unit/path_from_url_test.ts b/cli/tests/unit/path_from_url_test.ts index 887b42366..f375d84f4 100644 --- a/cli/tests/unit/path_from_url_test.ts +++ b/cli/tests/unit/path_from_url_test.ts @@ -1,9 +1,9 @@ -import { assertEquals, assertThrows, unitTest } from "./test_util.ts"; +import { assertEquals, assertThrows } from "./test_util.ts"; // @ts-expect-error TypeScript (as of 3.7) does not support indexing namespaces by symbol const { pathFromURL } = Deno[Deno.internal]; -unitTest( +Deno.test( { ignore: Deno.build.os === "windows" }, function pathFromURLPosix() { assertEquals( @@ -15,7 +15,7 @@ unitTest( }, ); -unitTest( +Deno.test( { ignore: Deno.build.os !== "windows" }, function pathFromURLWin32() { assertEquals( |