Skip to content

Commit 69fc5c7

Browse files
committed
Fix test
1 parent 18a6348 commit 69fc5c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ describe('stylelint-webpack-plugin', function () {
7070

7171
return pack(assign({}, baseConfig, config))
7272
.then(function (stats) {
73-
expect(stats.compilation.errors).to.have.length(2);
73+
expect(stats.compilation.errors).to.have.length(1);
74+
expect(stats.compilation.errors[0]).to.contain('test/fixtures/test7/_second.scss');
75+
expect(stats.compilation.errors[0]).to.contain('test/fixtures/test7/test.scss');
7476
});
7577
});
7678

0 commit comments

Comments
 (0)