我有一个Angular CLI项目,它有默认的Karma测试运行程序。我用this tutorial用Jest替换了Karma,并注意到一些测试正在通过一些失败的测试。例如,在测试级别声明一个变量: let mockObj: jasmine.SpyObj<MyClass>; 抛出错误: error `"Namespace 'jasmine' has no exportedmember 'SpyObj'` @angula
时遇到以下问题({ counter: todos }); node_modules/@ngrx/core/src/operator/enterZone.d.ts(1,10):错误运算符中出错:模块运算符没有导出的成员订阅者错误:模块订阅者没有导出的成员‘node_modules/@ngrx/core/src/operator/enterZone.d.ts(2,10):’。运算符错误:模块运