(target: string, path: string, type: "dir" | "file")
| 43 | // Mirror the repo convention (preview.test.ts): skip symlink cases on |
| 44 | // non-symlink-privileged Windows runners rather than crash the suite. |
| 45 | function tryCreateSymlink(target: string, path: string, type: "dir" | "file"): boolean { |
| 46 | try { |
| 47 | symlinkSync(target, path, type); |
| 48 | return true; |
| 49 | } catch { |
| 50 | return false; |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | describe("bundleToSingleHtml", () => { |
| 55 | it("does not merge author scripts into the runtime bootstrap placeholder", async () => { |