Replies: 1 comment
-
根据您提供的信息,您在使用 Vitest 进行单例测试时遇到了模块导入错误。错误提示指出无法找到模块 这个问题可能是由于模块路径配置不正确导致的。以下是一些可能的解决方案:
如果以上方法仍然无法解决问题,请提供更多的错误信息或上下文,以便我能更好地帮助您。 如果您有其他问题或需要进一步的帮助,请随时告诉我! 🪧 TipsFor further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
项目是vue3+ts+vite5环境,采用vitest进行单例测试,vite.config.ts中配置如下:
测试文件如下:
运行测试就会报以下错误
需要配置什么东西么?
Beta Was this translation helpful? Give feedback.
All reactions