From c9e315db3d271672d5b44be719c61c4086db1b6c Mon Sep 17 00:00:00 2001 From: Stepan Kuzmin Date: Tue, 17 Jan 2023 18:08:51 +0200 Subject: [PATCH] Fix getVideo stub (#12525) --- test/ajax_stubs.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ajax_stubs.js b/test/ajax_stubs.js index ab9c4fca1a8..2be6506fb79 100644 --- a/test/ajax_stubs.js +++ b/test/ajax_stubs.js @@ -114,6 +114,7 @@ export const getVideo = function(urls, callback) { if (err) return callback(err); callback(null, { readyState: 4, // HAVE_ENOUGH_DATA + setAttribute() {}, addEventListener() {}, play() {}, width: png.width,