Skip to content

Commit

Permalink
add beforeStart
Browse files Browse the repository at this point in the history
  • Loading branch information
menduz committed Feb 4, 2022
1 parent 3329b8d commit ca4453d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export type TestArguments<TestComponents extends Record<string, any>> = {
beforeStart(fn: BeforeStartFunction<TestComponents>): void
}

/** @public */
export type BeforeStartFunction<TestComponents extends Record<string, any> = any> = () => Promise<void> | void

export { createLocalFetchCompoment, defaultServerConfig } from "./localFetch"
Expand Down

0 comments on commit ca4453d

Please sign in to comment.