In Ivy, if you do: `TestBed.configureTestingModule({providers: [{provide: Service}]});` the injector will attempt to inject Service as if it was simply listed in the providers array like `{providers: [Service]}` This fixes an inconsistency when similarly providing an override with no `useValue` or `useFactory`. PR Close #33769
build: migrate references and scripts that set to build with ivy via compile=aot to use config=ivy (#33983)
build: migrate references and scripts that set to build with ivy via compile=aot to use config=ivy (#33983)
fix(ivy): align TestBed.overrideProvider with what happens with providers in TestBed providers array (#33769)
Angular
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages.
Quickstart
Changelog
Learn about the latest improvements.
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.
Description
Languages
TypeScript
68.6%
HTML
12.8%
JavaScript
8.4%
Pug
7%
Starlark
1.4%
Other
1.7%