Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -17,7 +17,7 @@ const forbiddenCommandPattern = /playwright|cypress|browser|e2e/i;
|
||||
|
||||
describe("MFA Scope baseline runner configuration", () => {
|
||||
it("defines the required non-E2E gates and report path", () => {
|
||||
expect(reportPath).toMatch(/\.tc\/baselines\/mfa-scope\/baseline-health\.md$/);
|
||||
expect(reportPath.replaceAll("\\", "/")).toMatch(/\.tc\/baselines\/mfa-scope\/baseline-health\.md$/);
|
||||
expect(gates.map((gate) => gate.id)).toEqual(["typecheck", "lint", "ci-baseline", "mfaScope-mfa-scope-inventory"]);
|
||||
expect(gates.some((gate) => [gate.command, ...(gate.args ?? [])].some((arg) => forbiddenCommandPattern.test(arg)))).toBe(false);
|
||||
expect(mfaScopeMfaScopeInventoryScanRoots).toEqual(["apps/web/app", "prisma/schema", "docs/security", "scripts", "package.json"]);
|
||||
@@ -50,7 +50,7 @@ describe("MFA Scope MFA scope inventory scan", () => {
|
||||
expect(inventory.roots).toEqual(expect.arrayContaining(["apps/web/app", "prisma/schema", "docs/security"]));
|
||||
expect(inventory.counts.mfa + inventory.counts.totp + inventory.counts["auth-session"] + inventory.counts["security-doc"]).toBeGreaterThan(0);
|
||||
expect(allMatches).toMatch(/app\//);
|
||||
});
|
||||
}, 60_000);
|
||||
|
||||
it("scans configured roots, counts MFA terms, and ignores dependency/generated/TC paths", async () => {
|
||||
const root = await mkdtemp(join(tmpdir(), "mfaScope-baseline-inventory-"));
|
||||
|
||||
Reference in new issue
Block a user