Fix little typo (#9861)
This commit is contained in:
parent
30df062a85
commit
4aa18c9bcc
1 changed files with 2 additions and 2 deletions
|
|
@ -358,14 +358,14 @@ test('custom addVariant with more complex media query params', () => {
|
|||
],
|
||||
plugins: [
|
||||
function ({ addVariant }) {
|
||||
addVariant('magic', '@media screen and (max-wdith: 600px)')
|
||||
addVariant('magic', '@media screen and (max-width: 600px)')
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
return run('@tailwind components;@tailwind utilities', config).then((result) => {
|
||||
return expect(result.css).toMatchFormattedCss(css`
|
||||
@media screen and (max-wdith: 600px) {
|
||||
@media screen and (max-width: 600px) {
|
||||
.magic\:text-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue