Skip to content

Conversation

juliemr
Copy link
Member

@juliemr juliemr commented Jul 8, 2016

This change reverts the removal of setBaseTestProviders that was
introduced in 8d746e3.

Instead, setBaseTestProviders and the providers provided from
@angular/platform-browser-dynamic/testing and @angular/server/testing
will still work for the next release, but are deprecated.

See 8d746e3 for how to upgrade.

@juliemr juliemr added the area: testing Issues related to Angular testing features, such as TestBed label Jul 8, 2016
@juliemr juliemr added this to the 2.0.0-rc.5 milestone Jul 8, 2016
@juliemr
Copy link
Member Author

juliemr commented Jul 8, 2016

cc @vikerman @StephenFluin

Note that I've tested this locally by changing the setup in test-main.js and test-cjs-main.js, but there are no tests on CI for it. I'm not sure if it's worth adding a new test setup target (which would have to be added to the cjs scripts), I'm open to thoughts.

@juliemr juliemr added action: review The PR is still awaiting reviews from at least one requested reviewer state: blocked labels Jul 8, 2016
@juliemr
Copy link
Member Author

juliemr commented Jul 8, 2016

This is pending more changes to initTestEnvironment by @tbosch

@tbosch
Copy link
Contributor

tbosch commented Jul 8, 2016

My changes are in master.
This PR looks good and just needs to be rebased / adjusted to the new changes on master.

@tbosch tbosch added pr_state: LGTM action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: review The PR is still awaiting reviews from at least one requested reviewer state: blocked labels Jul 8, 2016
@juliemr juliemr force-pushed the revive-setbasetestproviders branch 2 times, most recently from 5305214 to 9c21513 Compare July 8, 2016 23:36
This change reverts the removal of setBaseTestProviders that was
introduced in 8d746e3.

Instead, setBaseTestProviders and the providers provided from
`@angular/platform-browser-dynamic/testing` and `@angular/server/testing`
will still work for the next release, but are deprecated.

See 8d746e3 for how to upgrade.
@juliemr juliemr force-pushed the revive-setbasetestproviders branch from 9c21513 to 89e2a68 Compare July 8, 2016 23:47
@juliemr juliemr removed the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Jul 8, 2016
@juliemr
Copy link
Member Author

juliemr commented Jul 8, 2016

@vikerman could you please sanity check the rebase?

@vikerman
Copy link
Contributor

LGTM

@vikerman vikerman added the action: merge The PR is ready for merge by the caretaker label Jul 11, 2016
@juliemr juliemr merged commit 2923187 into angular:master Jul 11, 2016
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: testing Issues related to Angular testing features, such as TestBed cla: yes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants