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

Bun test crashes when collecting coverage #10836

Closed
oakfang opened this issue May 4, 2024 · 0 comments · Fixed by #11131
Closed

Bun test crashes when collecting coverage #10836

oakfang opened this issue May 4, 2024 · 0 comments · Fixed by #11131
Assignees
Labels
bug Something isn't working crash An issue that could cause a crash

Comments

@oakfang
Copy link

oakfang commented May 4, 2024

How can we reproduce the crash?

  • Clone this repo (at that commit).
  • Run bun i
  • Run bun test --coverage on Windows
  • Crash.

JavaScript/TypeScript code that reproduces the crash?

Only once I've added the tests in `tasks.test.ts` did I start having issues.

Relevant log output

No response

Stack Trace (bun.report)

Bun v1.1.7 (b0b7db5) on windows x86_64 [TestCommand]

panic: attempt to cast negative value to unsigned integer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash An issue that could cause a crash
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants