[Bug]: Error: AggregatedResult must be present after test run is complete
unional opened this issue · comments
Version
29.0.3
Steps to reproduce
- clone https://github.com/repobuddy/jest
git checkout ts-cjs-err
pnpm install
pnpm build
pnpm ts-cjs test
Expected behavior
Able to run tests
Actual behavior
Failed with:
Error: AggregatedResult must be present after test run is complete
at runCLI (D:\code\repobuddy\jest\node_modules\.pnpm\@jest+core@29.3.1\node_modules\@jest\core\build\cli\index.js:208:11)
at async Object.run (D:\code\repobuddy\jest\node_modules\.pnpm\jest-cli@29.3.1\node_modules\jest-cli\build\run.js:124:37)
Debug log
No logs. It fails before start
Additional context
It works in Linux, but not in Windows.
Environment
System:
OS: Windows 10 10.0.22621
CPU: (16) x64 AMD Ryzen 7 5800X 8-Core Processor
Binaries:
Node: 16.18.0 - C:\Program Files\nodejs\node.EXE
npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
npmPackages:
jest: ^29.3.1 => 29.3.1
Please open this for Jest repo. This error is not transformer error therefore it's unrelated to ts-jest
.