Skip to content

Commit f8017f2

Browse files
committed
test: adapt relinkPrivateKeys test
1 parent 78faa3f commit f8017f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jasmine/tests/plots_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe('Test Plots', function() {
2121
}];
2222

2323
var oldFullLayout = {
24-
_plots: { xy: {} },
24+
_plots: { xy: { plot: {} } },
2525
xaxis: { c2p: function() {} },
2626
yaxis: { _m: 20 },
2727
scene: { _scene: {} },
@@ -54,7 +54,7 @@ describe('Test Plots', function() {
5454
expect(gd._fullData[1].z).toBe(newData[1].z);
5555
expect(gd._fullData[1]._empties).toBe(oldFullData[1]._empties);
5656
expect(gd._fullLayout.scene._scene).toBe(oldFullLayout.scene._scene);
57-
expect(gd._fullLayout._plots).toBe(oldFullLayout._plots);
57+
expect(gd._fullLayout._plots.plot).toBe(oldFullLayout._plots.plot);
5858
expect(gd._fullLayout.annotations[0]._min).toBe(oldFullLayout.annotations[0]._min);
5959
expect(gd._fullLayout.annotations[1]._max).toBe(oldFullLayout.annotations[1]._max);
6060
expect(gd._fullLayout.someFunc).toBe(oldFullLayout.someFunc);

0 commit comments

Comments
 (0)