Skip to content

Commit

Permalink
Fix little typo (#9861)
Browse files Browse the repository at this point in the history
  • Loading branch information
2-NOW authored Nov 17, 2022
1 parent 30df062 commit 4aa18c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/variants.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4aa18c9

Please sign in to comment.