framework icon indicating copy to clipboard operation
framework copied to clipboard

feat: nuxi test supports setup globally

Open antfu opened this issue 3 years ago • 2 comments

🔗 Linked issue

❓ Type of change

  • [ ] 📖 Documentation (updates to the documentation or readme)
  • [ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
  • [x] 👌 Enhancement (improving an existing functionality like performance)
  • [ ] ✨ New feature (a non-breaking change that adds functionality)
  • [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

It allows users to test their app using nuxi test without explicitly add setup in their test files.

📝 Checklist

  • [ ] I have linked an issue or discussion.
  • [ ] I have updated the documentation accordingly.

antfu avatar Apr 25 '22 07:04 antfu

Deploy Preview for nuxt3-docs canceled.

Name Link
Latest commit 71957ac6b7c9eac0ecfd6d52c2254cdbfadd3c61
Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/636d100709040b000891dc6b

netlify[bot] avatar Apr 25 '22 07:04 netlify[bot]

It looks beautiful when looking at https://github.com/nuxt/framework/blob/feat/nuxt-test-global/examples/advanced/testing/tests/basic.test.ts

atinux avatar Apr 26 '22 15:04 atinux

Any updates on this PR?

AndrewBogdanovTSS avatar Oct 25 '22 13:10 AndrewBogdanovTSS