Skip to content

Commit 46c6642

Browse files
committed
more complete set of Plotly.react noop mocks to test
1 parent e12ce1b commit 46c6642

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

test/jasmine/tests/plot_api_test.js

+17-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var destroyGraphDiv = require('../assets/destroy_graph_div');
1919
var fail = require('../assets/fail_test');
2020
var checkTicks = require('../assets/custom_assertions').checkTicks;
2121
var supplyAllDefaults = require('../assets/supply_defaults');
22-
22+
var delay = require('../assets/delay');
2323

2424
describe('Test plot api', function() {
2525
'use strict';
@@ -2573,7 +2573,7 @@ describe('Test plot api', function() {
25732573
['17', require('@mocks/17.json')],
25742574
['21', require('@mocks/21.json')],
25752575
['22', require('@mocks/22.json')],
2576-
// ['airfoil', require('@mocks/airfoil.json')],
2576+
['airfoil', require('@mocks/airfoil.json')],
25772577
['annotations-autorange', require('@mocks/annotations-autorange.json')],
25782578
['axes_enumerated_ticks', require('@mocks/axes_enumerated_ticks.json')],
25792579
['axes_visible-false', require('@mocks/axes_visible-false.json')],
@@ -2586,7 +2586,21 @@ describe('Test plot api', function() {
25862586
['gl2d_parcoords_2', require('@mocks/gl2d_parcoords_2.json')],
25872587
['gl2d_pointcloud-basic', require('@mocks/gl2d_pointcloud-basic.json')],
25882588
['gl3d_world-cals', require('@mocks/gl3d_world-cals.json')],
2589-
['gl3d_set-ranges', require('@mocks/gl3d_set-ranges.json')]
2589+
['gl3d_set-ranges', require('@mocks/gl3d_set-ranges.json')],
2590+
['glpolar_style', require('@mocks/glpolar_style.json')],
2591+
['layout_image', require('@mocks/layout_image.json')],
2592+
['layout-colorway', require('@mocks/layout-colorway.json')],
2593+
['polar_categories', require('@mocks/polar_categories.json')],
2594+
['polar_direction', require('@mocks/polar_direction.json')],
2595+
['range_selector_style', require('@mocks/range_selector_style.json')],
2596+
['range_slider_multiple', require('@mocks/range_slider_multiple.json')],
2597+
['sankey_energy', require('@mocks/sankey_energy.json')],
2598+
['table_wrapped_birds', require('@mocks/table_wrapped_birds.json')],
2599+
['ternary_fill', require('@mocks/ternary_fill.json')],
2600+
['text_chart_arrays', require('@mocks/text_chart_arrays.json')],
2601+
['updatemenus', require('@mocks/updatemenus.json')],
2602+
['violins', require('@mocks/violins.json')],
2603+
['world-cals', require('@mocks/world-cals.json')]
25902604
];
25912605

25922606
mockList.forEach(function(mockSpec) {

0 commit comments

Comments
 (0)