+
Skip to content

fix(vite-plugin-angular): disable esbuild during testing to support correct sourcemaps/coverage reports #1312

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

Closed
wants to merge 1 commit into from

Conversation

brandonroberts
Copy link
Member

@brandonroberts brandonroberts commented Aug 30, 2024

PR Checklist

Closes #1211
Closes #1212
Related to vitest-dev/vscode#400

What is the new behavior?

  • Sourcemaps and coverage reports are correct when running tests with Vitest
  • The internal vitest plugin disables esbuild only during testing

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

[optional] What gif best describes this PR or how it makes you feel?

Copy link

netlify bot commented Aug 30, 2024

Deploy Preview for analog-blog ready!

Name Link
🔨 Latest commit e8b5cbe
🔍 Latest deploy log https://app.netlify.com/sites/analog-blog/deploys/66d1d9489988110008dbec24
😎 Deploy Preview https://deploy-preview-1312--analog-blog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Aug 30, 2024

Deploy Preview for analog-app ready!

Name Link
🔨 Latest commit e8b5cbe
🔍 Latest deploy log https://app.netlify.com/sites/analog-app/deploys/66d1d948ba77e30008974e9d
😎 Deploy Preview https://deploy-preview-1312--analog-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Aug 30, 2024

Deploy Preview for analog-docs ready!

Name Link
🔨 Latest commit e8b5cbe
🔍 Latest deploy log https://app.netlify.com/sites/analog-docs/deploys/66d1d948e15b910008eec9e7
😎 Deploy Preview https://deploy-preview-1312--analog-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Aug 30, 2024

Deploy Preview for analog-ng-app ready!

Name Link
🔨 Latest commit e8b5cbe
🔍 Latest deploy log https://app.netlify.com/sites/analog-ng-app/deploys/66d1d948a8f2690008139169
😎 Deploy Preview https://deploy-preview-1312--analog-ng-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@brandonroberts brandonroberts changed the title fix(vite-plugin-angular): disable esbuild to support correct sourcemaps/coverage reports fix(vite-plugin-angular): disable esbuild during testing to support correct sourcemaps/coverage reports Aug 30, 2024
@brandonroberts
Copy link
Member Author

The fix for this is more involved as Vitest replaces the provided sourcemaps which don't map correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid coverage report Gutter icons in VS Code are displayed in the wrong line
1 participant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载