console.log doesn't output anything in the console
ld75 opened this issue · 1 comments
ld75 commented
with a jest.config.js containing
module.exports = {
browser: false,
clearMocks: false,
globals: {
"pageContextRequestContextPath":"./"
},
runner: "jest-electron/runner",
testEnvironment: "jest-electron/environment",
verbose: true,
};
When doing console.log("test"); in my tests it doesn't print anything in the console.
When I switch to runner: "jest-runner",
and
testEnvironment: "jsdom",
it prints console.log back again.