Skip to content

Commit 630f561

Browse files
test: fix tests in [email protected]
1 parent df15fa1 commit 630f561

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/patch-node-env.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ const NodeEnvironment =
88

99
class CustomEnvironment extends NodeEnvironment {
1010
constructor(config, context) {
11+
// TODO - regression in jest/[email protected], temporary fix
12+
global.localStorage = undefined;
1113
super(config, context);
1214
}
1315

0 commit comments

Comments
 (0)