diff --git a/test/options/__snapshots__/exec.test.js.snap b/test/options/__snapshots__/exec.test.js.snap index e9c24e8c..372c9e37 100644 --- a/test/options/__snapshots__/exec.test.js.snap +++ b/test/options/__snapshots__/exec.test.js.snap @@ -2,7 +2,4 @@ exports[`Options Exec - {Boolean} 1`] = `"module.exports = \\"a {\\\\n color: green\\\\n}\\""`; -exports[`Options JSS - {String} 1`] = ` -"module.exports = { a: { color: 'yellow' } } -" -`; +exports[`Options JSS - {String} 1`] = `"module.exports = \\"a {\\\\n color: yellow\\\\n}\\""`; diff --git a/test/options/exec.test.js b/test/options/exec.test.js index 45716078..ab601489 100644 --- a/test/options/exec.test.js +++ b/test/options/exec.test.js @@ -25,6 +25,7 @@ describe('Options', () => { test('JSS - {String}', () => { const config = { loader: { + test: /style\.js$/, options: { parser: 'postcss-js' }