Commit bfffe7b
committed
Guard the deps-requiring CLI tests so local
The fail-fast test reaches cli.mjs's dynamic ioredis import, which is absent on a below-floor
dev box -- so it failed locally while passing in CI. Same skip pattern as the other worker
tests: skip when the queue deps cannot import, run in CI where PI_DISPATCH_REQUIRE_WORKER_TESTS
makes a skip a hard failure. The validation tests (bad inputs, dirty tree) still run everywhere
because they return before any import. Verified: local 94 pass / 26 skip / 0 fail; deps-present
8/8 CLI tests run.npm test is green everywhere1 parent 3c7c016 commit bfffe7b
1 file changed
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
12 | 19 | | |
13 | 20 | | |
14 | 21 | | |
| |||
59 | 66 | | |
60 | 67 | | |
61 | 68 | | |
62 | | - | |
| 69 | + | |
63 | 70 | | |
64 | 71 | | |
65 | 72 | | |
| |||
0 commit comments