Skip to content

Commit 9ebacb5

Browse files
test(core): move the 13 teardown specs out of Task.spec.ts
The unit added 430 lines to src/core/task/__tests__/Task.spec.ts as one insertion-only hunk (@@ -7864,0 +7865,430 @@). Those 13 it() blocks now live in src/core/task/__tests__/Task.teardown.spec.ts, carried verbatim at the same indentation with the setup they need copied from Task.spec.ts, so Task.spec.ts returns byte for byte to the content main carries at efc22ed (blob 3fea8b6). Test-only: no suppression, no Stryker directive, no narrow exclusion. This removes weight the extension test lane was carrying in its biggest spec file; it is not a repair to the timing-sensitive assertion main authored in that same file. Measured at this tree: vitest core lane solo 201 files, 4351 passed and 9 skipped of 4360, 28.18 s. Task.teardown.spec.ts alone 13 passed, 4.77 s. Task.spec.ts alone 212 passed, 6.82 s. pnpm run check-types exit 0 (12 of 12 tasks). eslint --max-warnings=0 exit 0 on both files, and also with --prune-suppressions, whose output was the usual cosmetic whole-file rewrite and was reverted, so no suppression count moved. prettier --check clean on both files.
1 parent 9155962 commit 9ebacb5

2 files changed

Lines changed: 856 additions & 430 deletions

File tree

0 commit comments

Comments
 (0)