Skip to content
/ jest Public
forked from jestjs/jest

Commit

Permalink
moar
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Sep 8, 2021
1 parent 27d16e1 commit 5154663
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/jest-runtime/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const supportsNodeColonModulePrefixInRequire = (() => {
})();

const supportsNodeColonModulePrefixInImport = (() => {
const {stdout} = execa.sync(
const {stdout, stderr} = execa.sync(
'node',
[
'--eval',
Expand All @@ -170,6 +170,8 @@ const supportsNodeColonModulePrefixInImport = (() => {
{reject: false},
);

console.log('is supported???', {stdout, stderr});

return stdout === 'true';
})();

Expand Down

0 comments on commit 5154663

Please sign in to comment.