[FEAT]: Add support for bun:test to angular test integrations #1281
NateRadebaugh
started this conversation in
Ideas
Replies: 2 comments
-
We did something similar with an esbuild plugin https://github.com/analogjs/analog/blob/beta/packages%2Fvite-plugin-angular%2Fesbuild.ts#L5 Maybe that implementation could be adapted for bun |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've created a separate bug in bun's repo: I'm not sure whether this belongs in analog or bun's code, but bun does support plugins and I think may require some custom angular-specific integrations to get the angular parser to run on external template HTML files |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Which scope/s are relevant/related to the feature request?
create-analog
Information
Vitest is great, but bun:test is way faster.
Is it feasible for the angular vitest integration to also work in a "bun test" context? I understand that test runner would not use vite under the hood and would likely need some translation step using some setup.ts file.
bun test --preload ./setup.ts
or
Describe any alternatives/workarounds you're currently using
No response
I would be willing to submit a PR to fix this issue
Beta Was this translation helpful? Give feedback.
All reactions