test : fix test error
This commit is contained in:
@@ -98,9 +98,10 @@ describe("production deployment contract", () => {
|
||||
expect(workflow).toContain("bun run typecheck");
|
||||
expect(workflow).toContain("bun run lint");
|
||||
expect(workflow).toContain("kubectl kustomize k8s/");
|
||||
expect(workflow).toContain("target: app");
|
||||
expect(workflow).toContain("target: migration");
|
||||
expect(workflow.match(/platforms: linux\/arm64/gmu)).toHaveLength(2);
|
||||
expect(workflow).toContain("--target app");
|
||||
expect(workflow).toContain("--target migration");
|
||||
expect(workflow).not.toContain("platforms: linux/arm64");
|
||||
expect(workflow).not.toMatch(/docker\/setup-qemu-action|docker\/setup-buildx-action|docker\/login-action/iu);
|
||||
expect(workflow).toContain(
|
||||
"registry.neko-piranha.ts.net/astral/buzz-sheet",
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user