Vue 单元测试 Jest 快照过时警告解决方法 - `yarn test -u`
"jest vue单测 1 snapshot obsolete from 1 test suite. To remove it, run yarn test -u. \n ↳ src/pages/System/Account/groupManage.test.js\n • groupManage render 1\n\n 是什么错误内容:这个错误是一个快照过时的警告。它表示在运行Vue单元测试时,一个测试套件中的快照已过时。要删除过时的快照,可以运行yarn test -u命令。
AI 优化版
原文地址:https://www.cveoy.top/t/topic/pQxz 著作权归作者所有。请勿转载和采集!