diff --git a/tests/collapse-duplicate-declarations.test.js b/tests/collapse-duplicate-declarations.test.js index 7c5506895..e6f740315 100644 --- a/tests/collapse-duplicate-declarations.test.js +++ b/tests/collapse-duplicate-declarations.test.js @@ -161,12 +161,11 @@ it('should work on a real world example', () => { } ` - // TODO: This seems like a bug with compat data - // `-moz-available` should still be listed - // and most like `100vh` as well return run(input, config).then((result) => { expect(result.css).toMatchFormattedCss(css` .h-available { + height: 100vh; + height: -moz-available; height: -webkit-fill-available; } `) diff --git a/tests/detect-nesting.test.js b/tests/detect-nesting.test.js index 08eeacf98..73af8f15c 100644 --- a/tests/detect-nesting.test.js +++ b/tests/detect-nesting.test.js @@ -35,7 +35,7 @@ it('should not warn when we detect nested css inside css @layer rules', () => { } let input = css` - @layer tw-base, tw-components, tw-utilities; + @layer tw-base, tw-components; @layer tw-utilities { @tailwind utilities; } @@ -43,7 +43,7 @@ it('should not warn when we detect nested css inside css @layer rules', () => { return run(input, config).then((result) => { expect(result.css).toMatchFormattedCss(css` - @layer tw-base, tw-components, tw-utilities; + @layer tw-base, tw-components; @layer tw-utilities { .underline { text-decoration-line: underline;