Skip to content

Commit a9375e9

Browse files
committed
update jasmine tests
1 parent b7b1b3a commit a9375e9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/jasmine/tests/plot_api_test.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2540,7 +2540,6 @@ describe('Test plot api', function() {
25402540

25412541
var layout = {
25422542
annotations: [
2543-
{ ref: 'paper' },
25442543
null,
25452544
{ xref: 'x02', yref: 'y1' }
25462545
],
@@ -2553,9 +2552,8 @@ describe('Test plot api', function() {
25532552

25542553
Plotly.newPlot(gd, data, layout);
25552554

2556-
expect(gd.layout.annotations[0]).toEqual({ xref: 'paper', yref: 'paper' });
2557-
expect(gd.layout.annotations[1]).toEqual(null);
2558-
expect(gd.layout.annotations[2]).toEqual({ xref: 'x2', yref: 'y' });
2555+
expect(gd.layout.annotations[0]).toEqual(null);
2556+
expect(gd.layout.annotations[1]).toEqual({ xref: 'x2', yref: 'y' });
25592557

25602558
expect(gd.layout.shapes[0].xref).toBeUndefined();
25612559
expect(gd.layout.shapes[0].yref).toBeUndefined();

0 commit comments

Comments
 (0)