8000 Fix null/undefined frame assumption · plotly/plotly.js@0b3bdca · GitHub
[go: up one dir, main page]

Skip to content

Commit 0b3bdca

Browse files
committed
Fix null/undefined frame assumption
1 parent 7aca3c4 commit 0b3bdca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/tests/animate_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ describe('Test animate API', function() {
549549
transition: {duration: 1},
550550
frame: {duration: 1}
551551
}).then(function() {
552-
expect(frames).toEqual(['frame0', 'frame1', undefined, undefined]);
552+
expect(frames).toEqual(['frame0', 'frame1', null, null]);
553553
}).catch(fail).then(done);
554554

555555
});

0 commit comments

Comments
 (0)
0