(options, optionsFixture, optionsInput)
| 60 | // Some subprocess options cannot be serialized between processes. |
| 61 | // For those, we pass a fixture filename instead, which dynamically creates the options. |
| 62 | export const getNestedOptions = async (options, optionsFixture, optionsInput) => { |
| 63 | if (optionsFixture === undefined) { |
| 64 | return options; |
| 65 | } |
| 66 | |
| 67 | const {getOptions} = await import(new URL(optionsFixture, NESTED_URL)); |
| 68 | return {...options, ...getOptions({...options, ...optionsInput})}; |
| 69 | }; |
no test coverage detected