UrlTemplateImageryProvider broken after upgrade from 1.91 to 1.92

We import cesium from npm - currently v1.91 (1.92 and above is when it starts to break), and then have declare var Cesium in project level typing files to be able to access the cesium object.

Unfortunately this error only seems to happen inside of the jest test environment, I’m working on a stackblitz to demonstrate this. Running the angular app normally it all works, its just the jest environment.

Is there any jest/testing related changes in 1.92 that we need to be aware of? There were imageryprovider changes stated in the changelog.