(input: { file: string; spec: string; target: string; id: string })
| 12 | const worker = path.join(import.meta.dir, "../fixture/plugin-meta-worker.ts") |
| 13 | |
| 14 | function run(input: { file: string; spec: string; target: string; id: string }) { |
| 15 | return Process.run([process.execPath, worker, JSON.stringify(input)], { |
| 16 | cwd: root, |
| 17 | nothrow: true, |
| 18 | }) |
| 19 | } |
| 20 | |
| 21 | async function map<Value>(file: string): Promise<Record<string, Value>> { |
| 22 | return Filesystem.readJson<Record<string, Value>>(file) |
no test coverage detected