Skip to content

Commit

Permalink
chore: bump jsdom
Browse files Browse the repository at this point in the history
version was matching kibana, but it does not need to, and that version is 2 years old and *very* different
  • Loading branch information
w33ble committed Sep 20, 2018
1 parent 6e3cf4c commit 1096ec8
Show file tree
Hide file tree
Showing 3 changed files with 153 additions and 99 deletions.
2 changes: 1 addition & 1 deletion x-pack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"jest": "^23.5.0",
"jest-cli": "^23.5.0",
"jest-styled-components": "^6.1.1",
"jsdom": "9.9.1",
"jsdom": "^12.0.0",
"mocha": "3.3.0",
"mustache": "^2.3.0",
"mutation-observer": "^1.0.3",
Expand Down
1 change: 1 addition & 0 deletions x-pack/plugins/canvas/tasks/helpers/dom_setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const { window } = new JSDOM('', {
url: `http://localhost:5601/${basename}`,
pretendToBeVisual: true,
});

global.window = window;
global.document = window.document;
global.navigator = window.navigator;
Expand Down
Loading

0 comments on commit 1096ec8

Please sign in to comment.