( pathWithoutFunction: string, maybeFunctionName: string | undefined, finalConfig: Record<string, any> | undefined, )
| 279 | } |
| 280 | |
| 281 | async function readJavascriptTestCases( |
| 282 | pathWithoutFunction: string, |
| 283 | maybeFunctionName: string | undefined, |
| 284 | finalConfig: Record<string, any> | undefined, |
| 285 | ): Promise<TestCase[]> { |
| 286 | const mod = await importModule(pathWithoutFunction, maybeFunctionName); |
| 287 | return typeof mod === 'function' ? await mod(finalConfig) : mod; |
| 288 | } |
| 289 | |
| 290 | async function readPythonTestCases( |
| 291 | pathWithoutFunction: string, |
no test coverage detected
searching dependent graphs…