Skip to content

Commit b87d6e2

Browse files
committed
Add test for config param
1 parent 055b232 commit b87d6e2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/test-default.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,11 @@ describe('default', function () {
5050
expect(css).to.include('/*# sourceMappingURL=');
5151
});
5252

53+
it('allows to change config path', function () {
54+
var css = require('!raw-loader!' +
55+
'../?config=test/cases/config/postcss.config.js' +
56+
'!./cases/style.css');
57+
expect(css).to.eql('a { color: black }\n');
58+
});
59+
5360
});

0 commit comments

Comments
 (0)