tailwindcss/tests/plugins/textWrap.test.js
Yuhei Yasuda 5366d242c2
Add support for text-wrap: pretty (#12031)
* Add support for `text-wrap: pretty`

* Update changelog

---------

Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
2023-09-19 08:49:20 -04:00

16 lines
282 B
JavaScript

import { css, quickPluginTest } from '../util/run'
quickPluginTest('textWrap').toMatchFormattedCss(css`
.text-wrap {
text-wrap: wrap;
}
.text-nowrap {
text-wrap: nowrap;
}
.text-balance {
text-wrap: balance;
}
.text-pretty {
text-wrap: pretty;
}
`)