Fix little typo (#9861)

This commit is contained in:
이현재 2022-11-17 20:56:32 +09:00 • committed by GitHub
parent 30df062a85
commit 4aa18c9bcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}