Skip to content

Commit

Permalink
keep it simpler
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Tassinari <olivier.tassinari@gmail.com>
  • Loading branch information
oliviertassinari committed Sep 26, 2022
1 parent 14882b0 commit efe3aee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/utils/createDOM.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const blacklist = ['sessionStorage', 'localStorage'];
function createDOM() {
const dom = new JSDOM('', {
pretendToBeVisual: true,
url: 'http://localhost',
});
global.window = dom.window;
// Not yet supported: https://github.com/jsdom/jsdom/issues/2152
Expand Down

0 comments on commit efe3aee

Please sign in to comment.