Repository navigation
Commit ad0b593
committed
test(css): cover the value-support reader where the minimizer's worker hides it
`minimize-dead-fallbacks` drives `_valueReadByTarget`'s whole call branch,
but the minimizer runs it inside the worker pool, where coverage cannot
follow — the integration flag reports 16.27% of the diff against the unit
flag's 80.76%, so the branch reads as untested.
Cover it from `CssSyntax.unittest.js`, which runs the printer in process:
one case per argument kind it can name and per kind it cannot, both sides
of the target gate, and the empty call whose guard is load-bearing —
without it an invalid `light-dark()` would drop the declaration before it.
`collectValueSupport` takes the BCD property tree as a defaulted argument,
as `collectLaterColorNames` and `collectColorFunctions` already do, so a
stub can drive the grammar filter (`is_transitionable` is no value of
`display`) and the row-less tree its throw names.1 parent 4700010 commit ad0b593
4 files changed
Lines changed: 116 additions & 2 deletions
File tree
- test/unitCases
- tooling
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
| 493 | + | |
493 | 494 | | |
494 | 495 | | |
495 | 496 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11004 | 11004 | | |
11005 | 11005 | | |
11006 | 11006 | | |
| 11007 | + | |
| 11008 | + | |
| 11009 | + | |
| 11010 | + | |
| 11011 | + | |
| 11012 | + | |
| 11013 | + | |
| 11014 | + | |
| 11015 | + | |
| 11016 | + | |
| 11017 | + | |
| 11018 | + | |
| 11019 | + | |
| 11020 | + | |
| 11021 | + | |
| 11022 | + | |
| 11023 | + | |
| 11024 | + | |
| 11025 | + | |
| 11026 | + | |
| 11027 | + | |
| 11028 | + | |
| 11029 | + | |
| 11030 | + | |
| 11031 | + | |
| 11032 | + | |
| 11033 | + | |
| 11034 | + | |
| 11035 | + | |
| 11036 | + | |
| 11037 | + | |
| 11038 | + | |
| 11039 | + | |
| 11040 | + | |
| 11041 | + | |
| 11042 | + | |
| 11043 | + | |
| 11044 | + | |
| 11045 | + | |
| 11046 | + | |
| 11047 | + | |
| 11048 | + | |
| 11049 | + | |
| 11050 | + | |
| 11051 | + | |
| 11052 | + | |
| 11053 | + | |
| 11054 | + | |
| 11055 | + | |
| 11056 | + | |
| 11057 | + | |
| 11058 | + | |
| 11059 | + | |
| 11060 | + | |
| 11061 | + | |
| 11062 | + | |
| 11063 | + | |
| 11064 | + | |
| 11065 | + | |
| 11066 | + | |
| 11067 | + | |
| 11068 | + | |
| 11069 | + | |
| 11070 | + | |
| 11071 | + | |
| 11072 | + | |
| 11073 | + | |
| 11074 | + | |
| 11075 | + | |
| 11076 | + | |
| 11077 | + | |
| 11078 | + | |
| 11079 | + | |
| 11080 | + | |
| 11081 | + | |
| 11082 | + | |
| 11083 | + | |
| 11084 | + | |
| 11085 | + | |
| 11086 | + | |
| 11087 | + | |
| 11088 | + | |
| 11089 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
886 | 887 | | |
887 | 888 | | |
888 | 889 | | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
889 | 912 | | |
890 | 913 | | |
891 | 914 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5427 | 5427 | | |
5428 | 5428 | | |
5429 | 5429 | | |
| 5430 | + | |
5430 | 5431 | | |
5431 | 5432 | | |
5432 | | - | |
| 5433 | + | |
| 5434 | + | |
| 5435 | + | |
| 5436 | + | |
| 5437 | + | |
| 5438 | + | |
5433 | 5439 | | |
5434 | 5440 | | |
5435 | 5441 | | |
5436 | 5442 | | |
5437 | 5443 | | |
5438 | 5444 | | |
5439 | 5445 | | |
5440 | | - | |
| 5446 | + | |
5441 | 5447 | | |
5442 | 5448 | | |
5443 | 5449 | | |
| |||
7683 | 7689 | | |
7684 | 7690 | | |
7685 | 7691 | | |
| 7692 | + | |
7686 | 7693 | | |
7687 | 7694 | | |
7688 | 7695 | | |
| |||
0 commit comments