From 69fc5c7b2543f14be0e67e6b22f347333e1ccaaf Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Fri, 9 Dec 2016 18:30:50 +0100 Subject: [PATCH] Fix test --- test/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/index.js b/test/index.js index b338f20..402cbaa 100644 --- a/test/index.js +++ b/test/index.js @@ -70,7 +70,9 @@ describe('stylelint-webpack-plugin', function () { return pack(assign({}, baseConfig, config)) .then(function (stats) { - expect(stats.compilation.errors).to.have.length(2); + expect(stats.compilation.errors).to.have.length(1); + expect(stats.compilation.errors[0]).to.contain('test/fixtures/test7/_second.scss'); + expect(stats.compilation.errors[0]).to.contain('test/fixtures/test7/test.scss'); }); });