fix(test): align media path mocks and deploy contract with main
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:
1 parent
6eab5e5343
commit
ed5b9a6f7c
2 files changed
+12
-8
No files matched your search
@@ -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", () => {
|
||||
|
||||
Reference in new issue
Block a user