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
+2
-2
@@ -17,7 +17,7 @@ const forbiddenCommandPattern = /playwright|cypress|browser|e2e/i;
|
||||
|
||||
describe("Impersonation Scope baseline runner configuration", () => {
|
||||
it("defines the required non-E2E gates and report path", () => {
|
||||
expect(reportPath).toMatch(/\.tc\/baselines\/impersonation-scope\/baseline-health\.md$/);
|
||||
expect(reportPath.replaceAll("\\", "/")).toMatch(/\.tc\/baselines\/impersonation-scope\/baseline-health\.md$/);
|
||||
expect(gates.map((gate) => gate.id)).toEqual(["typecheck", "lint", "ci-baseline", "impersonationScope-impersonation-scope-inventory"]);
|
||||
expect(gates.some((gate) => [gate.command, ...(gate.args ?? [])].some((arg) => forbiddenCommandPattern.test(arg)))).toBe(false);
|
||||
expect(impersonationScopeImpersonationScopeInventoryScanRoots).toEqual(["apps/web/app", "prisma/schema", "docs/security", "scripts", "package.json"]);
|
||||
@@ -60,7 +60,7 @@ describe("Impersonation Scope impersonation scope inventory scan", () => {
|
||||
expect(inventory.roots).toEqual(expect.arrayContaining(["apps/web/app", "prisma/schema", "docs/security"]));
|
||||
expect(inventory.counts.impersonation + inventory.counts.audit + inventory.counts["session-actor"] + inventory.counts["ui-marker"]).toBeGreaterThan(0);
|
||||
expect(allMatches).toMatch(/app\//);
|
||||
});
|
||||
}, 60_000);
|
||||
|
||||
it("scans configured roots, counts impersonation terms, and ignores dependency/generated/TC paths", async () => {
|
||||
const root = await mkdtemp(join(tmpdir(), "impersonationScope-baseline-inventory-"));
|
||||
|
||||
Reference in new issue
Block a user