Skip to content

Commit b3a12de

Browse files
committed
type it
1 parent 25507ba commit b3a12de

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/createJestRunner.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ export default function createRunner<
8787
onFailure: OnTestFailure,
8888
options: TestRunnerOptions,
8989
): Promise<void> {
90-
const runner = (await import(runPath)).default;
90+
const runner: (runTestOptions: RunTestOptions) => TestResult = (
91+
await import(runPath)
92+
).default;
9193

9294
const mutex = pLimit(1);
9395
return tests.reduce(

0 commit comments

Comments
 (0)