fix(ngMock): handle cases where injector is created before tests
This caused an exception for people who created an injector before the tests actually began to run. Since the array was initialized only in beforeEach, anyone accessing it before that would throw. This is solved easily but initializing the array immediately. Closes #10967
S
Shahar Talmi committed
898714df9ea38f9ef700015ced5ddea52f096b77
Parent: 966f6d8