模拟组件仍然包括实际组件
在我的单元测试中,我正在执行以下操作(通过 @ngneat/coptator): const createComponent = createComponentFactory({ component: AppComponent, de…
角度测试茉莉花,ng-mocks
我不明白为什么我的服务没有被调用。 在我的 BooklistComponent 中,我调用 ngOnInit ,它调用 initBooks() ,它调用 bookApiService getAll() 方法..…
- 共 1 页
- 1