import assert from 'node:assert/strict'; import { after, before, describe, it } from 'node:test'; import { fileURLToPath } from 'node:url'; import { createServer, type ViteDevServer } from 'vite'; import astro from '../dist/index.js'; const root = fileURLToPath(new URL('./fixtures/public-script/', import.meta.url)); describe('