diff --git a/test/setup.js b/test/setup.js index ed1e8b8..ae5bd8f 100644 --- a/test/setup.js +++ b/test/setup.js @@ -27,7 +27,7 @@ function compareFixtures(name, msg, opts, postcssOpts, plugin) { const expected = read(`fixtures/${name}.expected`); // handy thing: checkout actual in the *.actual.css file - fs.writeFile(`test/fixtures/${name}.actual.css`, actual); + fs.writeFileSync(`test/fixtures/${name}.actual.css`, actual); assert.equal(actual, expected); });