fix(runtime-utils): mockNuxtImport sourcemap mapped position - #1787
fix(runtime-utils): mockNuxtImport sourcemap mapped position#1787yamachi4416 wants to merge 1 commit into
mockNuxtImport sourcemap mapped position#1787Conversation
commit: |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughThe mock plugin now generates high-resolution source maps in its Vite transform hook. Unit tests now resolve transformed code with source maps and verify generated and original positions for import-mocking and component-mocking scenarios. Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This PR corrects the mapped source position for 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔗 Linked issue
resolves #1786
📚 Description
reproduction:
https://stackblitz.com/edit/nuxt-test-utils-issues-1786?file=package.json