Open vjpr opened 1 year ago
for the meantime, since the test framework is compatible with Jest, we could just use nodejs and run the tests through jest? If it could work for majority of things (I'd expect unit tests in general to not touch the parts where nodejs and bun are different) it would already be a huge win
Thanks for the feature request.
To fully support Bun in our tools, we require certain enhancements in Bun itself. We have been actively exploring collaboration opportunities with the Bun team to make the changes we need. While we aim to bring this support as soon as possible, we appreciate your understanding that timelines might vary based on various factors, some of which are outside of our control.
We will post here when we have updates to share.
With bun having been > v1.0.0 for some time now, it'd be great to get bun support instead of having to bodge bun projects
Adding another +1 for this as buns speed is also a factor as it would mean faster tests
I'm also adding my own +1.
Are there any updates on this?
What is it that y'all need Bun to have implemented, exactly?
@KerickHowlett
We don't have any updates to share at this time, but adding support for bun is on our short-term roadmap.
We're a little blocked at the moment because there is no first class way for us to transform code before it runs in bun (see https://github.com/oven-sh/bun/issues/2729). We can almost certainly work around this in a number of ways, but it adds a lot of complexity to our integration, which we'd prefer to avoid.
Bun is a new JavaScript runtime.
bun:test
is its test runner.See: https://bun.sh/docs/cli/test
Related
https://github.com/wallabyjs/public/issues/2487 - Deno support
vs Deno
It might be easier than Deno, because there is a transpiler api: https://bun.sh/docs/api/transpiler