Skip to content

Commit

Permalink
[test] Remove localStorage from the test env (mui#34449)
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Tassinari <olivier.tassinari@gmail.com>
  • Loading branch information
oliviertassinari authored and Daniel Rabe committed Nov 29, 2022
1 parent b24f192 commit bea6f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils/createDOM.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const blacklist = ['sessionStorage', 'localStorage'];
function createDOM() {
const dom = new JSDOM('', {
pretendToBeVisual: true,
url: 'http://localhost', // https://github.com/jsdom/jsdom/issues/2383
url: 'http://localhost',
});
global.window = dom.window;
// Not yet supported: https://github.com/jsdom/jsdom/issues/2152
Expand Down

0 comments on commit bea6f08

Please sign in to comment.