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 a5dba49 commit 2e1d49bCopy full SHA for 2e1d49b
test/test.js
@@ -199,6 +199,9 @@ describe('postcss-css-variables', function() {
199
var colorDecl = fooRule.nodes[0];
200
expect(colorDecl.value).to.be.a('string');
201
expect(colorDecl.value).to.be.equal('undefined');
202
+
203
+ expect(result.warnings()[0].type).to.be.equal('warning');
204
+ expect(result.warnings()[0].text).to.be.equal('variable --missing is undefined and used without a fallback');
205
});
206
207
0 commit comments