mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-09-19 10:11:36 +08:00
Adds shared fixtures/stubs/templates, 15 mechanically-enforced guardrails (filename casing, ban wrapper.vm direct calls, double assertions, weak matchers, tautologies, debug residue), splits grab-bag util test files by source module, promotes Vue warnings to test failures, fills logout and login-validation gaps in e2e, and replaces networkidle+hard-wait recipes with web-first assertions. Net: 355 unit/component/api/guardrail tests (+98), 36 playwright tests (+11), 80.55% line coverage with 2-3% buffer above tightened thresholds (65/75/78/78).