We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1702d4 commit 4f012a9Copy full SHA for 4f012a9
test/test.js
@@ -200,6 +200,7 @@ describe('postcss-css-variables', function() {
200
expect(colorDecl.value).to.be.a('string');
201
expect(colorDecl.value).to.be.equal('undefined');
202
203
+ expect(result.warnings().length).to.be.equal(1);
204
expect(result.warnings()[0].type).to.be.equal('warning');
205
expect(result.warnings()[0].text).to.be.equal('variable --missing is undefined and used without a fallback');
206
});
0 commit comments