(error: unknown)
| 39 | // a user might throw from inside a module body. |
| 40 | export const CJS_PARSE_ERROR = Symbol('jest-runtime CJS parse error'); |
| 41 | export const isCjsParseError = (error: unknown): error is Error => |
| 42 | isError(error) && |
| 43 | (error as unknown as Record<symbol, unknown>)[CJS_PARSE_ERROR] === true; |
| 44 | |
| 45 | export interface ModuleExecutorOptions { |
| 46 | resolution: Resolution; |
no test coverage detected