()
| 37 | |
| 38 | // e.g. ["./setup.ts"] for NODE_OPTIONS="--import ./setup.ts" |
| 39 | const nodeOptionPreloads = (): string[] => |
| 40 | [ |
| 41 | ...(process.env.NODE_OPTIONS ?? "").matchAll( |
| 42 | /(?:^|\s)(?:--import|--require|-r)(?:=|\s+)(\S+)/g |
| 43 | ) |
| 44 | ].map(match => match[1]) |
| 45 | |
| 46 | export const writeStoppedMessage = ( |
| 47 | stopped: string, |
no test coverage detected