diff options
Diffstat (limited to 'cli/js/tests/testing_test.ts')
-rw-r--r-- | cli/js/tests/testing_test.ts | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cli/js/tests/testing_test.ts b/cli/js/tests/testing_test.ts index 09378ec30..854e7161c 100644 --- a/cli/js/tests/testing_test.ts +++ b/cli/js/tests/testing_test.ts @@ -25,13 +25,3 @@ unitTest(function nameOfTestCaseCantBeEmpty(): void { "The test name can't be empty" ); }); - -unitTest(function testFnCantBeAnonymous(): void { - assertThrows( - () => { - Deno.test(function () {}); - }, - TypeError, - "The test function can't be anonymous" - ); -}); |