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:
parent
58f4254fba
commit
a323b9b1a3
|
@ -87,15 +87,6 @@ jasmine_node_test(
|
|||
|
||||
karma_web_test_suite(
|
||||
name = "test_web",
|
||||
tags = [
|
||||
# FIXME: fix on saucelabs
|
||||
# IE 11.0.0 (Windows 8.1.0.0) ivy NgModule providers should throw when the aliased provider does not exist FAILED
|
||||
# Error: Expected function to throw an exception with message 'R3InjectorError(SomeModule)[car -> SportsCar]:
|
||||
# NullInjectorError: No provider for Car!', but it threw an exception with message 'R3InjectorError(SomeModule)[car -> Car]:
|
||||
# NullInjectorError: No provider for Car!'.
|
||||
# at <Jasmine>
|
||||
"fixme-saucelabs-ivy",
|
||||
],
|
||||
deps = [
|
||||
":test_lib",
|
||||
],
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue