oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
73.48k stars 2.71k forks source link

Support `expect.getState()` #6213

Open elmpp opened 1 year ago

elmpp commented 1 year ago

What version of Bun is running?

1.0.3

What platform is your computer?

Darwin 22.1.0 arm64 arm

What steps can reproduce the bug?

expect.getState() is not implemented. It allows a way to find current describe/test etc

What is the expected behavior?

expect.getState() is available

What do you see instead?

expect.getState() type error

Additional information

No response

KilianB commented 7 months ago

Maybe these should also be tracked here: https://github.com/oven-sh/bun/issues/1825