Vue component register warning in unit tests with element-ui

Posted by Andre Scott | Updated on

In your tests, create a local Vue, call .use in it and pass it to shallow:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers