Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb3f858

Browse files
committed
fixup config editable: true test
1 parent 078c007 commit bb3f858

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/jasmine/tests/draw_newshape_test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1641,14 +1641,15 @@ describe('Activate and edit editable shapes', function() {
16411641
}
16421642
}
16431643
]
1644-
}, onfig: {
1644+
},
1645+
config: {
16451646
editable: true
16461647
}
16471648
})
16481649

16491650
.then(function() {
16501651
var el = Plotly.d3.selectAll('.shapelayer path')[0][0];
1651-
expect(el.style['pointer-events']).toBe('');
1652+
expect(el.style['pointer-events']).toBe('all');
16521653
expect(el.style.stroke).toBe('rgb(0, 0, 0)'); // no color
16531654
expect(el.style['stroke-opacity']).toBe('0'); // invisible
16541655
expect(el.style['stroke-width']).toBe('0px'); // no extra pixels

0 commit comments

Comments
 (0)