summaryrefslogtreecommitdiff
path: root/cli/tests/unit/testing_test.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-11-23 17:45:18 +0100
committerGitHub <noreply@github.com>2021-11-23 17:45:18 +0100
commitbedb2adfb065c1b0d3bcb773fbeff91230402b6b (patch)
treeb4d90c36f2409f7f9b6247b74e9c111a38befcdf /cli/tests/unit/testing_test.ts
parent51e3db956a5927229e3f46f4eaaf317e935f8f17 (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.ts8
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