ConusAI vendor v0.1.0-dev.20261027+9b1131fb
ci / gate (push) Waiting to run

This commit is contained in:
ConusAI vendor v0.1.0-dev.20261027+9b1131fb
2026-10-27 18:05:17 +00:00
commit 3102273ec7
538 changed files with 80203 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0
import { afterEach, expect, it, vi } from "vitest"
afterEach(() => {
vi.unstubAllEnvs()
vi.resetModules()
})
it("keeps compiled chunk URLs stable when the platform injects a deployment asset prefix", async () => {
// Compose serves the image's assets itself. Changing only the server's prefix at startup
// leaves Turbopack waiting for chunk URLs that differ from those registered by the scripts.
vi.stubEnv("CONUSAI_ASSET_PREFIX", "/_conusai/assets/app-42")
vi.resetModules()
const { default: config } = await import("../apps/web/next.config")
expect(config.assetPrefix ?? "").toBe("")
})