( opts: PrecompilePluginOptions, isTestRunner: boolean )
| 542 | }) |
| 543 | |
| 544 | export const driverOptionsOf = ( |
| 545 | opts: PrecompilePluginOptions, |
| 546 | isTestRunner: boolean |
| 547 | ): PrecompilePluginOptions => ({ |
| 548 | ...withEnvironment(opts, { |
| 549 | production: isProductionEnv(), |
| 550 | testing: isTestRunner |
| 551 | }), |
| 552 | // a standalone module imports what it shares, which the driver serves |
| 553 | inline: opts.runtime === "arktype" |
| 554 | }) |
| 555 | |
| 556 | export const reportDiagnostics = ( |
| 557 | diagnostics: RenderedDiagnostics | undefined, |
no test coverage detected