Angular 2 unit testing - getting error Failed to load 'ng:///DynamicTestModule/module.ngfactory.js'

前端 未结 10 2393
执念已碎
执念已碎 2020-12-23 11:04

I have angular 2 webpack application, all webpack,karma configuration created as per angular.io webpack guide. I am not using aot. I am writing jasmine unit test spec to te

10条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-23 11:52

    running tests with --sourcemaps=false will not fail Karma silently but give you some detail about the error instead.

提交回复
热议问题