title: Angular test cannot access Service before initialization
body: <p>I cannot make tests start, because they fail at the very beginning with error</p>
  
  <pre><code>Chrome 83.0.4103.61 (Linux x86_64) ERROR
    An error was thrown in afterAll
    Uncaught ReferenceError: Cannot access 'SomeService' before initialization
    ReferenceError: Cannot access 'SomeService' before initialization
  
  ... stack trace
  </code></pre>
  
  <p>The thing is:</p>
  
  <p>a) It's a singleton service and <code>providedIn: 'root'</code></p>
  
  <p>b) Stack trace points to nowhere (it even includes test files which are totally commented out so there is no single line of code.</p>
  
  <p>c) Other tests don't start because of that</p>
  
  <p>d) I can't start disabling tests to find the starting point due to their amount.</p>
  
  <p>How do I find where an error could happen and what could cause this? Can it be connected to updating Karma, Jasmine and spec reporters to the latest versions of their packages? I'm working with Angular 9</p>