Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
feat(upgrade): provide test helpers for wiring up injectors (WIP) #16848
This PR provides two test helpers for the upgrade/static library, which wire up the Angular and AngularJS injectors without the need for a full bootstrap of a hybrid app.
Check out the spec files for example usage.
TODO: this probably does not support testing upgraded/downgraded components.
referenced this pull request
Jul 4, 2017
gkalpak left a comment
Just a few nits. Looks great so far (except that I have no idea about all the places we need to list a new package
One thing I am a little concerned with is the namespacing of the module. Typically
3 times, most recently
Jul 29, 2017
We should also provide an "injector only version" that does not require a full TestBed to be compiled. E.g. Something like this (thanks to @jbedard)