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
+5
-1
@@ -31,6 +31,10 @@ describe("verify-db-boundary-baseline", () => {
|
||||
});
|
||||
|
||||
it("derives failure counts from TypeScript, ESLint, Vitest, and Prisma ownership output", () => {
|
||||
assert.equal(failureCount("typecheck", "Types generated successfully", "", 0), 0);
|
||||
assert.equal(failureCount("lint", "Lint completed successfully", "", 0), 0);
|
||||
assert.equal(failureCount("vitest-db-boundary", "Tests 20 passed", "", 0), 0);
|
||||
assert.equal(failureCount("prisma-ownership", "Summary: 8 passed, 0 failed", "", 0), 0);
|
||||
assert.equal(failureCount("typecheck", "src/a.ts(1,1): error TS2322: wrong\nerror TS7006", ""), 2);
|
||||
assert.equal(failureCount("typecheck", "Build failed without a TS code", ""), 1);
|
||||
assert.equal(failureCount("lint", "✖ 3 problems (2 errors, 1 warning)", ""), 2);
|
||||
@@ -89,6 +93,6 @@ describe("verify-db-boundary-baseline", () => {
|
||||
assert.match(report, /Duration: 123ms/);
|
||||
assert.match(report, /Output Fingerprint: abc123/);
|
||||
assert.match(report, /error TS2322/);
|
||||
assert.match(reportPath, /\.tc\/baselines\/db-boundary\/baseline-health\.md$/);
|
||||
assert.match(reportPath.replaceAll("\\", "/"), /\.tc\/baselines\/db-boundary\/baseline-health\.md$/);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user