Commit ae9125e
committed
test: add OA009 e2e case using examples/oa009-stale-floor fixture
Extends detectors.test.ts to cover OA009 through the real CLI binary. Uses
the existing examples/oa009-stale-floor fixture (build-tool@2.0.0 declares
semver ^7.5.4; override semver >=5.7.2 is therefore redundant). Asserts the
finding fires, package name, severity, and the remove patch. No temp directory
needed - the fixture already has the full node_modules structure.1 parent 91360e1 commit ae9125e
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
232 | 246 | | |
233 | 247 | | |
234 | 248 | | |
| |||
0 commit comments