fix(test): align media path mocks and deploy contract with main
CI / check (push) Successful in 23s
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m22s
CI / deploy (push) Failing after 11s

Use path.join in admin-media tests for Windows path.sep checks, and drop the deploy-job pnpm test expectation after it moved to CI.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
SimoandCursor committed 2026-07-30 19:41:45 +02:00
1 parent 6eab5e5343
commit ed5b9a6f7c
2 files changed
+12 -8

No files matched your search

+3 -4
View File
@@ -83,13 +83,12 @@ describe("production deploy workflow", () => {
expect(workflow).not.toContain("PNPM_CONFIG_ONLY_BUILT_DEPENDENCIES");
});
it("runs typecheck and tests before build in the stage", () => {
it("runs typecheck before build in the stage", () => {
const typecheckAt = deployJob.indexOf("pnpm typecheck");
const testAt = deployJob.indexOf("pnpm test");
const buildAt = deployJob.indexOf("pnpm build");
expect(typecheckAt).toBeGreaterThan(-1);
expect(testAt).toBeGreaterThan(typecheckAt);
expect(buildAt).toBeGreaterThan(testAt);
expect(buildAt).toBeGreaterThan(typecheckAt);
expect(deployJob).not.toContain("pnpm test");
});
it("exports APP_VERSION from git for Sentry releases", () => {