Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improper bindings of arguments #9

Merged
merged 1 commit into from
Dec 10, 2018

Conversation

JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Dec 10, 2018

The arrow function has no bindings of arguments object. I doubt if it has ever been working properly.

Fixed thymikee/jest-preset-angular#169 (comment)

I suggest we add some integration test (is that why the version is dangerously 0.0.x?) to prove the snippet works as intended.

Copy link
Owner

@thymikee thymikee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm 100% for some smoke tests on this. Maybe it make sense to deprecate this package and move to jest-preset-angular? It would be definitely easier to test this way.

@JLHwung
Copy link
Contributor Author

JLHwung commented Dec 10, 2018

@thymikee Good idea. It seems that there is not much packages directly depends on jest-zone-patch.

@thymikee
Copy link
Owner

Looks like all use it as transitive dep of jest-preset-angular.
Would you be so kind and move the functionality to the jest-preset-angular package and clear all the mentions of jest-zone-patch? 🙂

@thymikee thymikee merged commit 4466073 into thymikee:master Dec 10, 2018
@JLHwung
Copy link
Contributor Author

JLHwung commented Dec 10, 2018

No problem. I can work on that this week at spare time.

@thymikee
Copy link
Owner

That would be lovely! In the meantime I released a new patch release

thymikee pushed a commit to thymikee/jest-preset-angular that referenced this pull request Dec 13, 2018
This PR is addressed to thymikee/jest-zone-patch#9 (comment).

For the sake of complete git history, I merge the commits into this repository.

There is another LICENSE issue: The `jest-zone-patch` is licensed under BSD-3-Clause while this repository under MIT. I keep the original BSD LICENSE on this PR and left it as-is.
@JLHwung JLHwung deleted the fix-issuecomment-445731951 branch December 14, 2018 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants