我所有的单元测试都通过了。但是会出现类似
的错误Chrome 74.0.3729 (Linux 0.0.0) ERROR
An error was thrown in afterAll
Uncaught TypeError: You provided 'undefined' where a stream was expected. You can provide an Observable, Promise, Array, or Iterable. thrown
Chrome 74.0.3729 (Linux 0.0.0): Executed 20 of 79 (skipped 4) ERROR (0 secs / 3.634 secs)
Chrome 74.0.3729 (Linux 0.0.0) ERROR
An error was thrown in afterAll
这不是因为我的实现。 我在测试中未使用任何afterAll初始化块。有什么想法吗?