Skip to content

Commit 0598689

Browse files
authored
test: update use-baseline tests for new baseline data (eslint#240)
1 parent 4d3d140 commit 0598689

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

tests/rules/use-baseline.test.js

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ ruleTester.run("use-baseline", rule, {
102102
},
103103
"@container (min-width: 800px) { a { color: red; } }",
104104
"@media (color-gamut: srgb) { a { color: red; } }",
105+
"@MEDIA (color-gamut: srgb) { a { color: red; } }",
105106
],
106107
invalid: [
107108
{
@@ -363,22 +364,6 @@ ruleTester.run("use-baseline", rule, {
363364
},
364365
],
365366
},
366-
{
367-
code: "@MEDIA (color-gamut: srgb) { a { color: red; } }",
368-
errors: [
369-
{
370-
messageId: "notBaselineMediaCondition",
371-
data: {
372-
condition: "color-gamut",
373-
availability: "widely",
374-
},
375-
line: 1,
376-
column: 9,
377-
endLine: 1,
378-
endColumn: 20,
379-
},
380-
],
381-
},
382367
{
383368
code: "@media (device-posture: folded) { a { color: red; } }",
384369
options: [{ available: "newly" }],

0 commit comments

Comments
 (0)