Skip to content

Commit

Permalink
use toMatchSnapshot instead of toMatchFormattedCss
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Oct 9, 2023
1 parent a05e473 commit a7e03e8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/plugins/variants/popoverOpenVariant.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
import { css, quickVariantPluginTest } from '../../util/run'
import { quickVariantPluginTest } from '../../util/run'

quickVariantPluginTest('popoverOpenVariant').toMatchFormattedCss(css`
.popover-open\:flex:popover-open {
display: flex;
}
`)
quickVariantPluginTest('popoverOpenVariant').toMatchSnapshot()

0 comments on commit a7e03e8

Please sign in to comment.