File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -147,23 +147,23 @@ describe('makeTemplate', function() {
147
147
var gd = createGraphDiv ( ) ;
148
148
149
149
Plotly . newPlot ( gd , mock )
150
- . then ( function ( ) {
151
- var template = Plotly . makeTemplate ( gd ) ;
152
- delete ( template . layout . xaxis ) ;
153
- delete ( template . layout . yaxis ) ;
154
- expect ( template ) . toEqual ( {
155
- data : { scatter : [
156
- { fill : 'tonext' , line : { shape : 'spline' } } ,
157
- { fill : 'tonext' } ,
158
- { fill : 'toself' }
159
- ] } ,
160
- layout : {
161
- title : 'Fill toself and tonext' ,
162
- width : 400 ,
163
- height : 400
164
- }
165
- } ) ;
166
- } )
150
+ . then ( function ( ) {
151
+ var template = Plotly . makeTemplate ( gd ) ;
152
+ delete ( template . layout . xaxis ) ;
153
+ delete ( template . layout . yaxis ) ;
154
+ expect ( template ) . toEqual ( {
155
+ data : { scatter : [
156
+ { fill : 'tonext' , line : { shape : 'spline' } } ,
157
+ { fill : 'tonext' } ,
158
+ { fill : 'toself' }
159
+ ] } ,
160
+ layout : {
161
+ title : 'Fill toself and tonext' ,
162
+ width : 400 ,
163
+ height : 400
164
+ }
165
+ } ) ;
166
+ } )
167
167
. catch ( failTest )
168
168
. then ( destroyGraphDiv )
169
169
. then ( done ) ;
You can’t perform that action at this time.
0 commit comments