Unexpected value 'undefined' declared by the module 'AppModule'

前端 未结 14 1833
庸人自扰
庸人自扰 2021-02-03 16:53

What is wrong here? I\'m trying to make it work but I get that error in the header. I have included the in the app

14条回答
  •  清歌不尽
    2021-02-03 17:25

    I was getting this error because I mistakenly put TestBed.configureTestingModule outside of a beforeEach block.

提交回复
热议问题