tailwindcss/tests/plugins/divideStyle.test.js

20 lines
520 B
JavaScript
Raw Normal View History

import { css, quickPluginTest } from '../util/run'
quickPluginTest('divideStyle').toMatchFormattedCss(css`
.divide-solid > :not([hidden]) ~ :not([hidden]) {
border-style: solid;
}
.divide-dashed > :not([hidden]) ~ :not([hidden]) {
border-style: dashed;
}
.divide-dotted > :not([hidden]) ~ :not([hidden]) {
border-style: dotted;
}
.divide-double > :not([hidden]) ~ :not([hidden]) {
border-style: double;
}
.divide-none > :not([hidden]) ~ :not([hidden]) {
border-style: none;
}
`)