Video tag with controls attribute causing unit tests to fail

I am building a webapp with Angular 7.2.4. I am using the default unit testing library that the angular CLI (7.3.1) comes with.

I keep running into this error as a failure when the unit tests run:
An error was thrown in afterAll\nResizeObserver loop limit exceeded thrown

It seems that the controls attribute on one of the video inputs is causing this. If I remove the controls attribute all tests pass. I have no idea how to get around this as I need to use the video controls.

Can someone please point me in the right direction on how to resolve this without building a custom video player?

For reference here is the component (which is literally just a wrapper around the video player)