Skip to content

Commit c9e315d

Browse files
authored
Fix getVideo stub (mapbox#12525)
1 parent 0b0fed8 commit c9e315d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/ajax_stubs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ export const getVideo = function(urls, callback) {
114114
if (err) return callback(err);
115115
callback(null, {
116116
readyState: 4, // HAVE_ENOUGH_DATA
117+
setAttribute() {},
117118
addEventListener() {},
118119
play() {},
119120
width: png.width,

0 commit comments

Comments
 (0)