Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Incomplete stack trace with async tests #4177

Open
ian-eulith opened this issue Jul 5, 2023 · 0 comments
Open

[Bug]: Incomplete stack trace with async tests #4177

ian-eulith opened this issue Jul 5, 2023 · 0 comments

Comments

@ian-eulith
Copy link

Version

29.1.1

Steps to reproduce

  1. Clone https://github.com/ian-eulith/jest-bug-repro
  2. Run npm run test-js
  3. Run npm run test-ts

Expected behavior

npm run test-ts should print the same stack trace as npm run test-js.

Actual behavior

The stack trace for npm run test-ts only includes the line where the exception was thrown, plus one other unhelpful line.

Debug log

https://github.com/ian-eulith/jest-bug-repro/blob/main/ts-jest.log

Additional context

No response

Environment

System:
  OS: macOS 13.4
  CPU: (10) arm64 Apple M1 Max
Binaries:
  Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
  npm: 9.7.1 - ~/.nvm/versions/node/v18.16.0/bin/npm
npmPackages:
  jest: ^29.6.0 => 29.6.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant