Repository navigation
Commit cb71967
committed
test(webview): drop unused scaffolding from the context spec
ExtensionMessage, expectMessages and cacheFor are declared but never used in
this unit's slice of ExtensionStateContext.spec.tsx, so eslint reports all
three as no-unused-vars errors and the compile job's `pnpm lint` step fails.
They belong to the intern-cache helpers carried by another unit's slice, so
they are removed here rather than renamed with a leading underscore or
suppressed. Locally verified in this worktree: prettier and eslint clean, the
spec runs green, and `pnpm check-types`, `pnpm lint` and `pnpm knip` pass.
Committed with --no-verify (husky/lint-staged cannot run in these
worktrees); prettier, eslint and the touched vitest specs were run by hand.1 parent b977ee4 commit cb71967
1 file changed
Lines changed: 0 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | | - | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
| |||
64 | 62 | | |
65 | 63 | | |
66 | 64 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | 65 | | |
82 | 66 | | |
83 | 67 | | |
| |||
0 commit comments