fix(bundle): add angular2/platform/testing/browser to SystemJS testin… by marclaval · Pull Request #6771 · angular/angular · GitHub
Skip to content

fix(bundle): add angular2/platform/testing/browser to SystemJS testin…#6771

Merged
alexeagle merged 1 commit into
angular:masterfrom
marclaval:fixTestingBundle
Jan 29, 2016
Merged

fix(bundle): add angular2/platform/testing/browser to SystemJS testin…#6771
alexeagle merged 1 commit into
angular:masterfrom
marclaval:fixTestingBundle

Conversation

@marclaval

Copy link
Copy Markdown
Contributor

It is missing in beta.2

@pkozlowski-opensource

Copy link
Copy Markdown
Member

@pkozlowski-opensource

Copy link
Copy Markdown
Member

LGTM

@alexeagle

Copy link
Copy Markdown
Contributor

What's the severity? Do we need a beta.3?

@alexeagle

Copy link
Copy Markdown
Contributor

Where is the missing testing for this? Don't we test the example tests using the bundle?

@pkozlowski-opensource

Copy link
Copy Markdown
Member

What's the severity? Do we need a beta.3?

This pretty much breaks unit tests for all the people using SystemJS bundles.
IMO definitively needed for beta.3

@pkozlowski-opensource

Copy link
Copy Markdown
Member

Where is the missing testing for this? Don't we test the example tests using the bundle?

I was also surprised that we don't have tests for this. From what I understand now we use other bundles for e2e tests but we don't use the testing bundles anywhere.

We should add proper testing as a follow up of this PR.

@Foxandxss

Copy link
Copy Markdown
Member

Thanks for the PR, I was hitting the wall for ng-bootstrap tests until @pkozlowski-opensource told me that it was missing :P

@juliemr

juliemr commented Jan 29, 2016

Copy link
Copy Markdown
Member

Thanks for finding this - sorry I didn't realize the bundles would need fixing when I made the test setup changes.

@pkozlowski-opensource

Copy link
Copy Markdown
Member

Thanks for finding this - sorry I didn't realize the bundles would need fixing when I made the test setup changes.

@juliemr no worries - there should be safety net for this. In the future we should:

  • add automated tests
  • think of a way of sharing this config for all bundles

@alexeagle alexeagle merged commit ae7d2ab into angular:master Jan 29, 2016
@alexeagle

Copy link
Copy Markdown
Contributor

Please bring up the beta.3 question on slack so we get a definitive answer. Would be nice if we could just publish an updated beta.2 bundle and not change any code? caretaker takes a lot of time without extra releases to perform

@alexeagle

Copy link
Copy Markdown
Contributor

I decided to just cherry-pick this change onto the 2.0.0-beta.2 branch and re-publish the bundles.
Please verify: https://code.angularjs.org/2.0.0-beta.2/

@Foxandxss

Copy link
Copy Markdown
Member

I can see it. Thank you.

For npm users, should we wait for beta.3?

@alexeagle

Copy link
Copy Markdown
Contributor

I am not sure the severity for the use case of getting bundles out of the npm distribution. The workaround of replacing files from the CDN seems possible. @mhevery ?

@Foxandxss

Copy link
Copy Markdown
Member

For the ones that relies on npm that won't work. A workaround can be done tho.

Personally for ng-bootstrap is not a big deal, we can wait for beta.3 while we code it up :)

@PatrickJS

Copy link
Copy Markdown
Contributor

The beta releases could benefit by having patch releases. Then everyone can simply run npm upgrade to take advantage of semver. Doing so everyone can simply specify that patches are fine to install with the tilde symbol (~2.0.0-beta.3.0) then the ngTeam can release patches any time for that version (~2.0.0-beta.3.1)

@marclaval marclaval deleted the fixTestingBundle branch December 11, 2017 10:01
@angular-automatic-lock-bot

Copy link
Copy Markdown

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 13, 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 cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants