Skip to content

Commit 6bcbb10

Browse files
committed
use toMatchSnapshot instead of toMatchFormattedCss
More info: tailwindlabs#12170
1 parent d253525 commit 6bcbb10

File tree

2 files changed

+13
-8
lines changed

2 files changed

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

3-
quickVariantPluginTest('startingStyleVariant').toMatchFormattedCss(css`
4-
@starting-style {
5-
.starting\:flex {
6-
display: flex;
7-
}
8-
}
9-
`)
3+
quickVariantPluginTest('startingStyleVariant').toMatchSnapshot()

0 commit comments

Comments
 (0)