As part of the apps bootstrap, it runs through a series of HTTP GET's to load assets.
My unit tests will throw "unexpected GET request" if i don't account for the fetch. The issue is I have to include the GET on every test. And there are about a dozen of the below.
$httpBackend.when('GET', 'assets/iconsets/action-icons.svg').respond('ok');
My question is; is there a better, global way, to account for the GET's in one place and include that call in all of my tests?
$httpBackend.when('GET', /assets/).respond('ok');