【发布时间】:2021-03-18 19:33:30
【问题描述】:
在 PHPStorm 中执行 Jest Test 时,我在控制台中收到以下错误。
Debugger listening on ws://127.0.0.1:58148/15341a94-78d6-4475-94d6-c89c7e9e3c39
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
● Validation Error:
Preset @vue/cli-plugin-unit-jest not found.
Configuration Documentation:
https://facebook.github.io/jest/docs/configuration.html
Waiting for the debugger to disconnect...
我尝试$ vue add @vue/cli-plugin-unit-jest 以添加插件,但错误仍然存在。
【问题讨论】: