Skip to content

Commit 64b8c62

Browse files
authored
Fix global test return type (#22)
1 parent 0136eb3 commit 64b8c62

File tree

1 file changed

+1
-1
lines changed
  • exercises/03.async/01.solution.await

1 file changed

+1
-1
lines changed

exercises/03.async/01.solution.await/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ interface Assertions {
44

55
declare global {
66
var expect: (actual: unknown) => Assertions
7-
var test: (title: string, callback: () => void) => void
7+
var test: (title: string, callback: () => void | Promise<void>) => void
88
var beforeAll: (callback: () => void) => void
99
var afterAll: (callback: () => void) => void
1010
}

0 commit comments

Comments
 (0)