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() {
190190 return fs . readFileAsync ( './test/fixtures/missing-variable-usage.css' , 'utf8' )
191191 . then ( function ( buffer ) {
192192 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' ) ;
206204 } ) ;
205+ } ) ;
207206 } ) ;
208207 } ) ;
209208
You can’t perform that action at this time.
0 commit comments