eleonorazhyrlitsyna
Error with bode 23.1
@kapa.ai I am using "type": "module", tailwind.config.mjs file with imports and export default and still have error
[7:53:39 AM] ERROR (node:139) ExperimentalWarning: CommonJS module /usr/src/app/.nuxt/tailwind.config.cjs is loading ES Module /usr/src/app/node_modules/@nuxtjs/tailwindcss/dist/runtime/merger.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use node --trace-warnings ... to show where the warning was created)
23 replies
@nuxt/test-utils/runtime. mockNuxtImport/mockComponent got the same Error
https://github.com/nuxt/test-utils/issues/987
do not work because of absent ';' while using mockNuxtImport
6 replies
@nuxt/test-utils/runtime. mockNuxtImport/mockComponent got the same Error
Hi everyone! I am new in testing. I am trying to mock navigateTo function, but in any attempt for using mockNuxtImport (also while using mockComponent for other goals), I will get the same error. Could anyone have ideas?
PS. without mockNuxtImport/mockComponent the tests passes success
6 replies