test(core): re-enable IE 10/11 test on SauceLabs (#35962)

I was not able to reproduce IE 10/11 failrue of the disabled
tests on SauceLabs any more. I did some cleanup of the test
in question but I doubt it was the root cause of the problem.

PR Close #35962
This commit is contained in:
Pawel Kozlowski
2020-03-09 15:34:01 +01:00
committed by Misko Hevery
parent 563b707497
commit 9ff8d78bcd
2 changed files with 1 additions and 10 deletions

View File

@ -794,7 +794,7 @@ function declareTests(config?: {useJit: boolean}) {
const injector = createInjector([{provide: 'car', useExisting: SportsCar}]);
let errorMsg = `NullInjectorError: No provider for ${stringify(SportsCar)}!`;
if (ivyEnabled) {
errorMsg = `R3InjectorError(SomeModule)[car -> SportsCar]: \n ` + errorMsg;
errorMsg = `R3InjectorError(SomeModule)[car -> ${stringify(SportsCar)}]: \n ` + errorMsg;
}
expect(() => injector.get('car')).toThrowError(errorMsg);
});