(
resolver: string | undefined | null,
{
filePath,
rootDir,
requireResolveFunction,
}: {
filePath: string;
rootDir: string;
requireResolveFunction: (moduleName: string) => string;
},
)
| 160 | * 1. looks for <name> relative to Jest. |
| 161 | */ |
| 162 | export const resolveRunner = ( |
| 163 | resolver: string | undefined | null, |
| 164 | { |
| 165 | filePath, |
| 166 | rootDir, |
| 167 | requireResolveFunction, |
| 168 | }: { |
| 169 | filePath: string; |
| 170 | rootDir: string; |
| 171 | requireResolveFunction: (moduleName: string) => string; |
| 172 | }, |
| 173 | ): string => |
| 174 | resolveWithPrefix(resolver, { |
| 175 | filePath, |
| 176 | humanOptionName: 'Jest Runner', |
| 177 | optionName: 'runner', |
| 178 | prefix: 'jest-runner-', |
| 179 | requireResolveFunction, |
| 180 | rootDir, |
| 181 | }); |
| 182 | |
| 183 | export const resolveSequencer = ( |
| 184 | resolver: string | undefined | null, |
no test coverage detected