test: serve QA standalone static assets

This commit is contained in:
ajnart committed 2026-09-01 06:54:50 +02:00
1 parent d2cc9780e7
commit 28a433386e
2 files changed
+24 -6

No files matched your search

+1
View File
@@ -142,6 +142,7 @@ describe("release-v2 QA app execution contract", () => {
expect(paths.generatedServerPath).toBe(`${paths.buildDir}/standalone/apps/nextjs/server.js`);
expect(paths.serverPath).toBe(`${paths.buildDir}/standalone/apps/nextjs/server.cjs`);
expect(paths.standaloneRoot).toBe(`${paths.buildDir}/standalone`);
expect(paths.standaloneStaticDir).toBe(`${paths.buildDir}/standalone/apps/nextjs/${paths.distDirName}/static`);
expect(() => createCandidateBuildPaths("not-a-commit")).toThrow(/40-character lowercase commit SHA/u);
});
});