You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Typecheck the tests of 10 packages whose tsconfig covers src/ only (audit-engine and rules first) #1859
Follow-up to #1850 (pub#1858 fixed packages/parser). These packages' tsconfig leaves out their tests/, so the root bun run typecheck and CI never typecheck those tests: audit-engine (216 test files), rules (354), crawler (115), report (110), utils (40), tech-detect (31), core-contracts (19), config (8), waf-detect (4), threat-intel (3). page-classifier and synthetic-site already cover theirs.
Acceptance Criteria
Each listed package's tests are typechecked by the root bun run typecheck (and so by CI's "Format, lint, and typecheck" job), using the same pattern as packages/parser after pub#1858.
audit-engine and rules land first (they may be their own PRs); the rest can follow in one or more PRs.
Type errors surfaced are fixed without changing any assertion; any fix that would change test behaviour is called out in the PR.
A { timeout } passed in the wrong argument position is moved where the types expect it, and the PR notes that those timeouts now apply.
Activity
build(audit-engine,rules): typecheck package tests #1859
fix(rules): keep tests out of the package typecheck, add tsconfig.tes…
test(rules): typecheck tests in packages/rules, apply 30s timeout for…
fix(rules): keep tests out of the package typecheck, add tsconfig.tes…
build(packages): typecheck the tests of crawler, report, utils, tech-…
Merge origin/main into boat/targeted-site-rules-1778