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

Skip to content

Commit 242f3b4

Browse files
committed
Add test for non-present command arg value
1 parent 6dc01d6 commit 242f3b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/tests/command_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ describe('component bindings', function() {
513513
}).catch(fail).then(done);
514514
});
515515

516-
it('udpates bound components when the value changes', function(done) {
516+
it('does not update the component if the value is not present', function(done) {
517517
expect(gd.layout.sliders[0].active).toBe(0);
518518

519519
Plotly.restyle(gd, 'marker.color', 'ecru').then(function() {

0 commit comments

Comments
 (0)