Skip to content

Commit 3e22d38

Browse files
committed
mock out createObjectURL for makeSchema task
1 parent 1723ed8 commit 3e22d38

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tasks/util/make_schema.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module.exports = function makeSchema(plotlyPath, schemaPath) {
1212
// package is annoying and platform-dependent.
1313
// see https://github.com/tmpvar/jsdom/issues/1782
1414
w.HTMLCanvasElement.prototype.getContext = function() { return null; };
15+
w.URL.createObjectURL = function() { return null; };
1516

1617
w.eval(plotlyjsCode);
1718

0 commit comments

Comments
 (0)