File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -159,27 +159,6 @@ describe('sliders defaults', function() {
159159 expect ( layoutOut . sliders [ 1 ] . _input ) . toBe ( layoutIn . sliders [ 1 ] ) ;
160160 expect ( layoutOut . sliders [ 2 ] . _input ) . toBe ( layoutIn . sliders [ 2 ] ) ;
161161 } ) ;
162-
163- it ( 'should default \'bgcolor\' to layout \'paper_bgcolor\'' , function ( ) {
164- var steps = [ {
165- method : 'relayout' ,
166- args : [ 'title' , 'Hello World' ]
167- } ] ;
168-
169- layoutIn . sliders = [ {
170- steps : steps ,
171- } , {
172- bgcolor : 'red' ,
173- steps : steps
174- } ] ;
175-
176- layoutOut . paper_bgcolor = 'blue' ;
177-
178- supply ( layoutIn , layoutOut ) ;
179-
180- expect ( layoutOut . sliders [ 0 ] . bgcolor ) . toEqual ( 'blue' ) ;
181- expect ( layoutOut . sliders [ 1 ] . bgcolor ) . toEqual ( 'red' ) ;
182- } ) ;
183162} ) ;
184163
185164describe ( 'update sliders interactions' , function ( ) {
You can’t perform that action at this time.
0 commit comments