(name: string, body: string)
| 32 | }; |
| 33 | |
| 34 | const writeJsonc = (name: string, body: string): string => { |
| 35 | const dir = fs.mkdtempSync(path.join(TMP_ROOT, `${name}-`)); |
| 36 | const file = path.join(dir, "executor.jsonc"); |
| 37 | fs.writeFileSync(file, body); |
| 38 | return file; |
| 39 | }; |
| 40 | |
| 41 | const writeFixturePackage = (name: string, server: string): void => { |
| 42 | const packageName = `@loader-fixture/${name}`; |