diff --git a/test/test-postcss.js b/test/test-postcss.js index 59b5764..a6563a8 100644 --- a/test/test-postcss.js +++ b/test/test-postcss.js @@ -20,14 +20,14 @@ const read = path => new Promise((resolve, reject) => { test('post-load-pliguns default config for postcss from package.json', async t => { t.is( '.test{display:-ms-flexbox;display:flex;color:red}', - (await postcss(postLoadPlugins()).process('.test { display: flex; color: #ff0000;} @charset "utf-8";')).css + (await postcss(postLoadPlugins()).process('.test { display: flex; color: #ff0000;} @charset "utf-8";', {map: false})).css ); }); test('post-load-pliguns default config for postcss-cli from package.json', async t => { t.plan(2); const filename = tempfile('.css'); - await execa('postcss', ['-u', path.resolve('../lib/index.js'), '-o', filename, 'fixtures/input-for-cli.css']); + await execa('postcss', ['-u', path.resolve('../lib/index.js'), '-o', filename, 'fixtures/input-for-cli.css', '--no-map']); const fix = await read('expected/output-for-cli.css'); const exp = await read(filename); t.true(existsSync(filename));