defineNuxtPlugin in nuxt bridge and tests

I am struggling to use nuxt's internals, like defineNuxtPlugin. Even though the functional code is working, I am getting issues while running automated tests. The imports are not recognized nor working in tests.
ReferenceError: defineNuxtPlugin is not defined
I am mainly using autoImports: false, but even after enabling it, it does not work
Error: Failed to resolve import "#imports" from "....". Does the file exist?
0 Replies
No replies yetBe the first to reply to this messageJoin