Skip to content

Commit a9b3f99

Browse files
committed
node version when spawning
1 parent 5154663 commit a9b3f99

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/jest-runtime/src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,11 @@ const supportsNodeColonModulePrefixInImport = (() => {
169169
],
170170
{reject: false},
171171
);
172+
const {stdout: nodeVersion} = execa.sync('node', ['--version'], {
173+
reject: false,
174+
});
172175

173-
console.log('is supported???', {stdout, stderr});
176+
console.log('is supported???', {nodeVersion, stderr, stdout});
174177

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

0 commit comments

Comments
 (0)