Vuejs test utils + mocha webpack userAgent error

Posted 10 months ago by tiagomatosweb

Hi all, Has anyone come across with this error when run tests?

TypeError: Cannot read property 'userAgent' of undefined

I'm using this stack https://vue-test-utils.vuejs.org/guides/#testing-single-file-components-with-mocha-webpack

Thank you!

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.