-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
Regression in Jest with jsdom #10492
Copy link
Copy link
Closed
Labels
consoleIssues and PRs related to the console subsystem.Issues and PRs related to the console subsystem.vmIssues and PRs related to the vm subsystem.Issues and PRs related to the vm subsystem.
Metadata
Metadata
Assignees
Labels
consoleIssues and PRs related to the console subsystem.Issues and PRs related to the console subsystem.vmIssues and PRs related to the vm subsystem.Issues and PRs related to the vm subsystem.
Repro:
./jestTwo tests will fail on 7.3.0 that did not fail using 7.2.0. The concrete bug is when using
--env=jsdomwith Jest,console.logcalls from a jsdom's vm context will not be printed any more for some reason. There is a PR in Jest to fix this: jestjs/jest#2457 but I'd like to first understand what regression in node caused this and whether this is a bug in node or an expected change.Failed tests that expect "console.log" output to be present with the jsdom environment:
