Skip to content

Commit c8c2504

Browse files
RobinMalfaitlukewarlow
authored andcommitted
use toMatchSnapshot instead of toMatchFormattedCss
More info: tailwindlabs#12170
1 parent 00e1cea commit c8c2504

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`should test the 'popoverOpenVariant' plugin 1`] = `
4+
"
5+
.popover-open\\:flex:popover-open {
6+
display: flex;
7+
}
8+
"
9+
`;
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
import { css, quickVariantPluginTest } from '../../util/run'
1+
import { quickVariantPluginTest } from '../../util/run'
22

3-
quickVariantPluginTest('popoverOpenVariant').toMatchFormattedCss(css`
4-
.popover-open\:flex:popover-open {
5-
display: flex;
6-
}
7-
`)
3+
quickVariantPluginTest('popoverOpenVariant').toMatchSnapshot()

0 commit comments

Comments
 (0)