Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -5,11 +5,10 @@ import { gates, s02OnboardingTestFiles, shellCommand, validateGateConfig } from
|
||||
const expectedS02Tests = [
|
||||
"apps/web/app/modules/onboarding/services/OnboardingService.single-user-tenant-flow.test.ts",
|
||||
"apps/web/app/modules/onboarding/services/OnboardingSessionService.tenant-events.test.ts",
|
||||
"apps/web/app/modules/onboarding/routes/api/sessions/OnboardingSessionsIndexApi.tenant-filter.test.ts",
|
||||
];
|
||||
|
||||
describe("Tenant Auth onboarding flow runner configuration", () => {
|
||||
it("references exactly the three onboarding tests and the Tenant Auth baseline gate", () => {
|
||||
it("references exactly the runtime onboarding tests and the Tenant Auth baseline gate", () => {
|
||||
expect(s02OnboardingTestFiles).toEqual(expectedS02Tests);
|
||||
expect(gates.map((gate) => gate.id)).toEqual(["vitest-tenantAuth-s02-onboarding-flow", "tenantAuth-baseline-gates"]);
|
||||
|
||||
@@ -31,12 +30,12 @@ describe("Tenant Auth onboarding flow runner configuration", () => {
|
||||
|
||||
it("rejects missing test entries", () => {
|
||||
const invalidGates = [
|
||||
{ id: "vitest-tenantAuth-s02-onboarding-flow", command: "pnpm", args: ["exec", "vitest", "run", expectedS02Tests[0], expectedS02Tests[1]] },
|
||||
{ id: "vitest-tenantAuth-s02-onboarding-flow", command: "pnpm", args: ["exec", "vitest", "run", expectedS02Tests[0]] },
|
||||
{ id: "tenantAuth-baseline-gates", command: "pnpm", args: ["run", "verify:tenant-auth-baseline"] },
|
||||
];
|
||||
|
||||
expect(validateGateConfig(invalidGates)).toMatchObject({ valid: false });
|
||||
expect(validateGateConfig(invalidGates).errors.join("\n")).toContain(expectedS02Tests[2]);
|
||||
expect(validateGateConfig(invalidGates).errors.join("\n")).toContain(expectedS02Tests[1]);
|
||||
});
|
||||
|
||||
it("rejects extra test entries", () => {
|
||||
|
||||
Reference in new issue
Block a user