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

Add support for bun test runner testing on .vue SFC files #5967

Open
nathanchase opened this issue Sep 23, 2023 · 0 comments
Open

Add support for bun test runner testing on .vue SFC files #5967

nathanchase opened this issue Sep 23, 2023 · 0 comments
Labels
bun:test Something related to the `bun test` runner enhancement New feature or request

Comments

@nathanchase
Copy link

What is the problem this feature would solve?

I have many tests that are testing individual Vue single-file component (.vue) files in my Nuxt 3 project, and I'm currently leaning on nuxt-vitest for mounting and running tests in a Nuxt 3 environment using Vitest for my components.

I'd like to utilize Bun's test runner to test these .vue files, in addition to my TypeScript files (composables, etc.) and take advantage of Bun's test runner's speed. The syntax differences between Bun's test runner and vitest seems negligible, and both utilize happy-dom for DOM testing.

What is the feature you are proposing to solve the problem?

Enhance Bun's test runner to support testing Vue single file components, and Nuxt 3 environments.

What alternatives have you considered?

nuxt-vitest

@nathanchase nathanchase added the enhancement New feature or request label Sep 23, 2023
@Electroid Electroid added the bun:test Something related to the `bun test` runner label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bun:test Something related to the `bun test` runner enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants