File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -190,20 +190,19 @@ describe('postcss-css-variables', function() {
190
190
return fs.readFileAsync('./test/fixtures/missing-variable-usage.css', 'utf8')
191
191
.then(function(buffer) {
192
192
var contents = String(buffer);
193
- return postcss([
194
- cssvariables()
195
- ])
196
- .process(contents)
197
- .then(function(result) {
198
- var root = result.root;
199
- var fooRule = root.nodes[0];
200
- expect(fooRule.selector).to.equal('.box-foo');
201
- var colorDecl = fooRule.nodes[0];
202
- expect(colorDecl.value).to.be.a('string');
203
- expect(colorDecl.value).to.be.equal('undefined');
204
- return colorDecl.value;
205
- });
193
+ return postcss([
194
+ cssvariables()
195
+ ])
196
+ .process(contents)
197
+ .then(function(result) {
198
+ var root = result.root;
199
+ var fooRule = root.nodes[0];
200
+ expect(fooRule.selector).to.equal('.box-foo');
201
+ var colorDecl = fooRule.nodes[0];
202
+ expect(colorDecl.value).to.be.a('string');
203
+ expect(colorDecl.value).to.be.equal('undefined');
206
204
});
205
+ });
207
206
});
208
207
});
209
208
You can’t perform that action at this time.
0 commit comments