Commit e8ab6af
committed
test: split css minimizer tests into a separate file excluded by jest config
`it.skip`-ing the css-minimizer rows still left orphan snapshots in the
shared snapshot file, which made some CI rows fail when those snapshots
weren't reconciled. Move all of them into a dedicated
`test/css-minify-option.test.js` (with its own snapshot file) and add
a `testPathIgnorePatterns` entry in `jest.config.js` that drops that
file entirely on rows where the CSS deps don't run — Node <18 or
Windows. Removes the now-unneeded continue-on-error / fail-fast
overrides from the workflow.1 parent 5fd772a commit e8ab6af
6 files changed
Lines changed: 559 additions & 606 deletions
File tree
- .github/workflows
- test
- __snapshots__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | 75 | | |
91 | 76 | | |
92 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
1 | 9 | | |
2 | 10 | | |
3 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
4 | 15 | | |
0 commit comments