Skip to content

Commit

Permalink
fix: mark afterAll and setup hooks as async (#702)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jan 12, 2024
1 parent da8cc47 commit d851f6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface TestContext {
export interface TestHooks {
beforeEach: () => void
afterEach: () => void
afterAll: () => void
setup: () => void
afterAll: () => Promise<void>
setup: () => Promise<void>
ctx: TestContext
}

0 comments on commit d851f6e

Please sign in to comment.