mutoe / vue3-realworld-example-app

Explore the charm of Vue composition API! Vite?
https://vue3-realworld-example-app-mutoe.vercel.app
MIT License
963 stars 344 forks source link

[WIP] test: let's use vite-jest for testing #82

Closed haoqunjiang closed 11 months ago

haoqunjiang commented 2 years ago

First, thanks for the great example app!

I was developing vite-jest and used this repository as a real-world test case. Now after v0.1.3 all the current tests are passing. So I'm opening this PR in case you are interested in joining the experiment of this new vite-jest integration.

Main changes in this PR:

The coverage report is not working at the moment, though.

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/mutoe/vue3-realworld-example-app/EGDdwLaVHXYH6AfyWMzzPFEe9z4W
✅ Preview: https://vue3-realworld-example-app-git-fork-sodatea-vite-jest-mutoe.vercel.app

mutoe commented 2 years ago

@sodatea Sounds great, bro. I don't know if you represent the official Vite, but before it is officially released (at least the beta), I think this can only be pending, or merged into a separate branch for tracking :)

haoqunjiang commented 2 years ago

but before it is officially released (at least the beta), I think this can only be pending, or merged into a separate branch for tracking :)

Yeah, it makes sense. I'll ping you again when the package reaches beta.

mutoe commented 11 months ago

Hi @sodatea , after the release of Vitest version 1.0, this project has been migrated to Vitest. Also this PR has been too long, close it for now. Welcome to open it again if necessary :D