create-nuxt-app icon indicating copy to clipboard operation
create-nuxt-app copied to clipboard

Support Components Discovery with Vue Test Utils

Open msmsimondean opened this issue 5 years ago • 1 comments

Is your feature request related to a problem? Please describe.

At the moment component discovery works great when serving a page but doesn't work at all when testing a component or page that uses component discovery.

Describe the solution you'd like

For Vue Test Utils when added to a new codebase using yarn create nuxt-app etc. and adding Jest, should support Next.js's component discovery without any changes.

msmsimondean avatar Nov 27 '20 19:11 msmsimondean

There is a plugin generated in .nuxt/components directory for testing purpose. Would be nice adding to default boilerplate to register in tests

pi0 avatar Nov 28 '20 11:11 pi0