我已按照此处https://github.com/wallabyjs/ngCliWebpackSample的说明获取与wallabyjs一起运行的示例angular-cli应用程序。
我可以通过'npm run test'运行测试,一切正常,3次测试包括传递。
但是,如果我运行wallabyjs,我会收到以下错误:
AppComponent should render title in a h1 tag [16 ms]
Failed: No provider for TestingCompilerFactory!
at Object.<anonymous> src/app/app.component.spec.ts:9:4
Failed: No provider for TestingCompilerFactory!
at Object.<anonymous> src/app/app.component.spec.ts:29:4
AppComponent should have as title 'app' [14 ms]
Failed: No provider for TestingCompilerFactory!
at Object.<anonymous> src/app/app.component.spec.ts:9:4
Failed: No provider for TestingCompilerFactory!
at Object.<anonymous> src/app/app.component.spec.ts:23:4
AppComponent should create the app [9 ms]
Failed: No provider for TestingCompilerFactory!
at Object.<anonymous> src/app/app.component.spec.ts:9:4
Failed: No provider for TestingCompilerFactory!
at Object.<anonymous> src/app/app.component.spec.ts:17:4
..我已经安装并安装了全球最新的网络包,电子等。