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 --- std/fs/walk_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/fs/walk_test.ts') diff --git a/std/fs/walk_test.ts b/std/fs/walk_test.ts index 96bfcae67..57d3cf8ea 100644 --- a/std/fs/walk_test.ts +++ b/std/fs/walk_test.ts @@ -7,7 +7,7 @@ const isWindows = Deno.build.os == "win"; export function testWalk( setup: (arg0: string) => void | Promise, - t: Deno.TestFunction, + t: () => void | Promise, ignore = false ): void { const name = t.name; -- cgit v1.2.3