Commit ad40070
committed
ci: pass -u with -t filter so Jest tolerates obsolete snapshots
In non-TTY mode Jest treats snapshots from `-t`-skipped tests as obsolete
and exits 1, even when every test that did run passed. Pass `-u` so
those snapshots are removed (in-place on the runner; never committed),
which lets the filtered Node 10-16 runs complete cleanly. Strict
snapshot validation is preserved on the unfiltered Node 18+ rows.1 parent f0ea2f3 commit ad40070
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
145 | 151 | | |
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
149 | | - | |
| 155 | + | |
150 | 156 | | |
151 | 157 | | |
152 | | - | |
| 158 | + | |
153 | 159 | | |
154 | 160 | | |
155 | 161 | | |
| |||
0 commit comments