You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing @vue/server-test-utils, import the module and call the renderToString function.
What is expected?
The renderToString function should generate a string containing the rendered component.
What is actually happening?
Cannot find module 'cheerio' from 'vue-server-test-utils.js'
at Resolver.resolveModule (node_modules/jest-runtime/node_modules/jest-resolve/build/index.js:191:17)
at Object.<anonymous> (node_modules/@vue/server-test-utils/dist/vue-server-test-utils.js:9:31)
Cheerio is not installed when installing @vue/server-test-utils since it's in the dev dependencies.
The text was updated successfully, but these errors were encountered:
Version
1.0.0-beta.15
Reproduction link
None
Steps to reproduce
After installing
@vue/server-test-utils
, import the module and call therenderToString
function.What is expected?
The
renderToString
function should generate a string containing the rendered component.What is actually happening?
Cheerio is not installed when installing
@vue/server-test-utils
since it's in the dev dependencies.The text was updated successfully, but these errors were encountered: