Commit 650715b
committed
chore(test): wire vitest, fleet alignment + dep cleanup
Phase B (test wiring) + Phase D (light dep cleanup).
Test:
- Add test/smoke.test.mts placeholder (vitest exits 1 when no tests
found and the fleet scripts/test.mts doesn't pass --passWithNoTests
for all-mode runs).
- Add vitest.config.mts at root re-exporting .config/vitest.config.mts.
Fleet keeps configs in .config/ but vitest auto-discovers from cwd.
- Migrate poolOptions.threads.* to top-level maxWorkers/minWorkers
(vitest 4 deprecation).
- Scope vitest discovery to repo's own test/ via dir + exclude
.claude/** (skips hook node:test suites).
Dep cleanup:
- Drop @socketsecurity/config (unused).
- Drop @types/micromatch (unused).
- Switch @socketsecurity/lib + @types/node to catalog: references.
Known dead code surfaced by tsgo noUnusedLocals (kept disabled
pending focused removal pass): src/auth.ts(293), executable.ts(60),
interpreter.ts(301), import-finder.ts(5), decorations.ts(30,31,300),
parse-externals.ts(17,500), languages.ts(1), util.ts(136).
Verified: check + test --all + build all green.1 parent b41baec commit 650715b
5 files changed
Lines changed: 41 additions & 47 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
19 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
20 | 32 | | |
| 33 | + | |
| 34 | + | |
21 | 35 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
31 | 39 | | |
32 | 40 | | |
33 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | 120 | | |
122 | 121 | | |
123 | 122 | | |
| |||
128 | 127 | | |
129 | 128 | | |
130 | 129 | | |
131 | | - | |
132 | | - | |
| 130 | + | |
133 | 131 | | |
134 | 132 | | |
135 | 133 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments