You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tests in tests/rules/require-baseline.test.js hard-code expected behaviors based on the current Baseline status of specific features. For example, today this test correctly expects container queries not to be Baseline Widely available:
However, we know that container queries will become Widely available on August 14, 2025, because it's exactly 30 months after its Newly available date. So the next time web-features is updated and generate-baseline.js runs, this test will start failing because the require-baseline rule will no longer warn about its usage.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The tests in tests/rules/require-baseline.test.js hard-code expected behaviors based on the current Baseline status of specific features. For example, today this test correctly expects container queries not to be Baseline Widely available:
css/tests/rules/require-baseline.test.js
Lines 148 to 162 in a9692b0
However, we know that container queries will become Widely available on August 14, 2025, because it's exactly 30 months after its Newly available date. So the next time
web-features
is updated and generate-baseline.js runs, this test will start failing because the require-baseline rule will no longer warn about its usage.Is that intentional?
Beta Was this translation helpful? Give feedback.
All reactions