fix(config): default nuxt test pattern to nested for simple non-nuxt setup - #1801
Conversation
commit: |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (9)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughNuxt test discovery now matches supported test and spec extensions under nested Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This localized change broadens default Nuxt test discovery to support nested test directories while restricting matches to supported test files, with focused fixture coverage. No actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 ESLint
src/config.tsParsing error: Unexpected token { test/unit/resolve-config.spec.tsParsing error: Unexpected token { 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 #1800
📚 Description
Updated the nuxt test pattern for the simple non-nuxt setup to allow organizing tests into subdirectories.
Reproduction:
https://stackblitz.com/edit/nuxt-test-utils-issues-1800?file=package.json&startScript=test