Дмитрий
f44de52e08
fix(hooks): extractTestMetrics — recognise Vitest "passed | N skipped" formats
...
Pre-fix all three regexes in extractTestMetrics fell through when Vitest
output contained " | N skipped" between "passed" and "(TOTAL)" — so any
test suite with .skip()'ed tests produced sentinel result=fail (false
negative), blocking subsequent git commit.
Two new patterns:
- "Tests N passed | M skipped (TOTAL)"
- "Tests X failed | N passed | M skipped (TOTAL)"
Companion tests in tools/enforce-verify-record.test.mjs (new file matches
TDD-gate basename heuristic) and tools/enforce-verify-before-push.test.mjs.
Verified RED to GREEN: 38/38 tests pass after fix.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-26 19:25:44 +03:00
..
2026-05-23 10:16:32 +03:00
2026-05-23 09:46:28 +03:00
2026-05-23 09:41:48 +03:00
2026-05-17 04:54:43 +03:00
2026-05-19 16:23:51 +03:00
2026-05-19 16:23:52 +03:00
2026-05-19 16:23:45 +03:00
2026-05-25 17:07:23 +03:00
2026-05-25 17:07:23 +03:00
2026-05-26 10:49:28 +03:00
2026-05-25 14:28:25 +03:00
2026-05-25 14:28:26 +03:00
2026-05-25 14:28:26 +03:00
2026-05-25 14:28:26 +03:00
2026-05-19 07:29:43 +03:00
2026-05-19 07:29:43 +03:00
2026-05-24 13:25:05 +03:00
2026-05-24 13:25:05 +03:00
2026-05-25 18:16:29 +03:00
2026-05-25 18:16:29 +03:00
2026-05-26 11:12:59 +03:00
2026-05-26 11:12:59 +03:00
2026-05-25 18:19:03 +03:00
2026-05-25 18:19:03 +03:00
2026-05-26 15:53:04 +03:00
2026-05-26 15:53:04 +03:00
2026-05-25 18:15:31 +03:00
2026-05-25 18:15:31 +03:00
2026-05-26 11:16:16 +03:00
2026-05-26 11:16:16 +03:00
2026-05-26 11:23:19 +03:00
2026-05-25 18:20:08 +03:00
2026-05-25 18:20:08 +03:00
2026-05-26 11:20:13 +03:00
2026-05-26 11:20:13 +03:00
2026-05-25 18:22:12 +03:00
2026-05-25 18:22:12 +03:00
2026-05-26 15:53:04 +03:00
2026-05-26 19:25:44 +03:00
2026-05-26 19:25:44 +03:00
2026-05-26 19:25:44 +03:00
2026-05-20 13:47:43 +03:00
2026-05-19 07:36:21 +03:00
2026-05-19 07:36:21 +03:00
2026-05-25 14:28:25 +03:00
2026-05-25 14:28:25 +03:00
2026-05-21 06:06:25 +03:00
2026-05-21 06:06:25 +03:00
2026-05-21 06:06:26 +03:00
2026-05-21 06:06:26 +03:00
2026-05-23 09:41:48 +03:00
2026-05-19 13:39:09 +03:00
2026-05-19 13:39:09 +03:00
2026-05-25 14:28:24 +03:00
2026-05-21 09:59:56 +03:00
2026-05-25 17:07:23 +03:00
2026-05-25 17:07:23 +03:00
2026-05-23 13:49:42 +03:00
2026-05-23 13:49:42 +03:00
2026-05-19 10:27:23 +03:00
2026-05-19 06:36:13 +03:00
2026-05-19 06:36:13 +03:00
2026-05-23 12:26:24 +03:00
2026-05-23 12:26:24 +03:00
2026-05-23 13:22:55 +03:00
2026-05-23 13:22:55 +03:00
2026-05-21 06:06:27 +03:00
2026-05-21 06:06:27 +03:00
2026-05-19 10:27:23 +03:00
2026-05-19 10:27:23 +03:00
2026-05-26 19:25:16 +03:00
2026-05-26 19:25:16 +03:00
2026-05-25 16:32:30 +03:00
2026-05-25 16:32:30 +03:00
2026-05-26 07:57:25 +03:00
2026-05-26 07:57:25 +03:00
2026-05-26 19:25:16 +03:00
2026-05-26 19:25:16 +03:00
2026-05-23 14:18:52 +03:00
2026-05-24 17:10:28 +03:00
2026-05-23 14:26:34 +03:00
2026-05-23 14:31:34 +03:00
2026-05-24 06:45:27 +03:00
2026-05-24 06:45:27 +03:00
2026-05-25 14:28:25 +03:00
2026-05-25 14:28:25 +03:00
2026-05-26 19:25:16 +03:00
2026-05-26 19:25:16 +03:00
2026-05-25 14:28:24 +03:00
2026-05-25 14:28:24 +03:00
2026-05-25 14:28:25 +03:00
2026-05-25 14:28:25 +03:00
2026-05-25 14:28:25 +03:00
2026-05-26 19:25:16 +03:00
2026-05-26 19:25:16 +03:00
2026-05-24 15:26:18 +03:00
2026-05-24 15:26:18 +03:00
2026-05-24 15:36:14 +03:00
2026-05-24 15:36:14 +03:00
2026-05-24 10:40:20 +03:00
2026-05-26 19:25:16 +03:00
2026-05-26 19:25:16 +03:00
2026-05-15 15:28:18 +03:00
2026-05-15 15:28:18 +03:00
2026-05-15 17:25:09 +03:00
2026-05-15 17:25:09 +03:00
2026-05-15 15:34:33 +03:00
2026-05-15 15:34:33 +03:00
2026-05-26 11:48:16 +03:00
2026-05-26 11:48:16 +03:00
2026-05-18 10:17:04 +03:00
2026-05-18 10:18:54 +03:00
2026-05-25 14:28:01 +03:00
2026-05-25 14:28:01 +03:00
2026-05-20 10:32:31 +03:00