diff --git a/tests/plugins/__snapshots__/transitionBehavior.test.js.snap b/tests/plugins/__snapshots__/transitionBehavior.test.js.snap new file mode 100644 index 000000000000..ec72b6e9cc2b --- /dev/null +++ b/tests/plugins/__snapshots__/transitionBehavior.test.js.snap @@ -0,0 +1,13 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`should test the 'transitionBehavior' plugin 1`] = ` +" +.transition-allow-discrete { + transition-behavior: allow-discrete; +} + +.transition-behavior-normal { + transition-behavior: normal; +} +" +`; diff --git a/tests/plugins/transitionBehavior.test.js b/tests/plugins/transitionBehavior.test.js index 7f2aa4270d2b..e66aeeafed83 100644 --- a/tests/plugins/transitionBehavior.test.js +++ b/tests/plugins/transitionBehavior.test.js @@ -1,10 +1,3 @@ -import { css, quickPluginTest } from '../util/run' +import { quickPluginTest } from '../util/run' -quickPluginTest('transitionBehavior').toMatchFormattedCss(css` - .transition-allow-discrete { - transition-behavior: allow-discrete; - } - .transition-behavior-normal { - transition-behavior: normal; - } -`) +quickPluginTest('transitionBehavior').toMatchSnapshot()