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

Vitest doesn't display build errors originating from plugin correctly (Vite does) #2256

Closed
6 tasks done
haikyuu opened this issue Nov 2, 2022 · 0 comments · Fixed by #2257
Closed
6 tasks done

Vitest doesn't display build errors originating from plugin correctly (Vite does) #2256

haikyuu opened this issue Nov 2, 2022 · 0 comments · Fixed by #2257

Comments

@haikyuu
Copy link
Contributor

haikyuu commented Nov 2, 2022

Describe the bug

Vitest doesn't pick the frame property if present in the error originating from a plugin.
Vite picks it up as a build error and displays it using outputBuildError.

Reproduction

https://stackblitz.com/edit/vitejs-vite-7459gf?file=vite.config.js

System Info

*

Used Package Manager

npm

Validations

@haikyuu haikyuu changed the title Vitest doesn't display errors originating from plugin correctly (Vite does) Vitest doesn't display build errors originating from plugin correctly (Vite does) Nov 2, 2022
@sheremet-va sheremet-va added the bug label Nov 2, 2022
antfu pushed a commit that referenced this issue Nov 7, 2022
Co-authored-by: Vladimir <sheremet.va@icloud.com>
fixes #2256
@github-actions github-actions bot locked and limited conversation to collaborators Jun 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants