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/testing_test.ts | |
parent | 51e3db956a5927229e3f46f4eaaf317e935f8f17 (diff) |
refactor: remove "unitTest" wrapper from cli/tests/unit (#12750)
Diffstat (limited to 'cli/tests/unit/testing_test.ts')
-rw-r--r-- | cli/tests/unit/testing_test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/tests/unit/testing_test.ts b/cli/tests/unit/testing_test.ts index d4d25d12f..de3da77aa 100644 --- a/cli/tests/unit/testing_test.ts +++ b/cli/tests/unit/testing_test.ts @@ -1,7 +1,7 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. -import { assertRejects, assertThrows, unitTest } from "./test_util.ts"; +import { assertRejects, assertThrows } from "./test_util.ts"; -unitTest(function testWrongOverloads() { +Deno.test(function testWrongOverloads() { assertThrows( () => { // @ts-ignore Testing invalid overloads @@ -60,7 +60,7 @@ unitTest(function testWrongOverloads() { ); }); -unitTest(function nameOfTestCaseCantBeEmpty() { +Deno.test(function nameOfTestCaseCantBeEmpty() { assertThrows( () => { Deno.test("", () => {}); @@ -80,7 +80,7 @@ unitTest(function nameOfTestCaseCantBeEmpty() { ); }); -unitTest(function invalidStepArguments(t) { +Deno.test(function invalidStepArguments(t) { assertRejects( async () => { // deno-lint-ignore no-explicit-any |