(trace)
| 203 | |
| 204 | describe('autotype', function() { |
| 205 | function supplyWithTrace(trace) { |
| 206 | var fullTrace = Lib.extendDeep( |
| 207 | {type: 'scatter', xaxis: 'x', yaxis: 'y'}, |
| 208 | trace |
| 209 | ); |
| 210 | layoutIn = {xaxis: {}, yaxis: {}}; |
| 211 | supplyLayoutDefaults(layoutIn, layoutOut, [fullTrace]); |
| 212 | } |
| 213 | |
| 214 | function checkTypes(xType, yType, msg) { |
| 215 | expect(layoutOut.xaxis.type).toBe(xType, msg); |
no test coverage detected
searching dependent graphs…