Replies: 1 comment
-
Intentional? Yes. Desired? No. The short story is that it's difficult to validate that the rule works without using the actual baseline data. If you have an idea for how to work around this, I'm definitely open to it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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