项目与角度6集成,带有jest框架,npm测试抛出错误

问题描述 投票:0回答:1

在npm test login.component.spec.ts上,它给出以下错误:

在工作区中找不到项目“login.component.spec.ts”。错误:在工作区中找不到项目“login.component.spec.ts”。

angular jestjs
1个回答
1
投票

这将有助于:

npm test -- --test-match **/login.component.spec.ts

© www.soinside.com 2019 - 2024. All rights reserved.