From 270e87d9db48e983671848257eb360b4c7405d31 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Wed, 1 Apr 2020 09:47:23 +0100 Subject: refactor(cli/js/testing): Reduce testing interfaces (#4451) * Reduce "testing" interfaces * Use a callback instead of a generator for Deno.runTests() * Default RunTestsOptions::reportToConsole to true * Compose TestMessage into a single interface --- cli/js/tests/format_error_test.ts | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cli/js/tests/format_error_test.ts') diff --git a/cli/js/tests/format_error_test.ts b/cli/js/tests/format_error_test.ts index 42c16b0c0..0cb963ae6 100644 --- a/cli/js/tests/format_error_test.ts +++ b/cli/js/tests/format_error_test.ts @@ -31,7 +31,3 @@ unitTest(function formatDiagnosticError() { } assert(thrown); }); - -if (import.meta.main) { - Deno.runTests(); -} -- cgit v1.2.3