update tests to reflect Lightning CSS bump
+ solves an issue we had where `height: 100vh; height: -moz-available;` was missing. Nice!
This commit is contained in:
parent
9c626a52f6
commit
f945fc82f2
2 changed files with 4 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
`)
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue