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

Wrap Traverson's Builder.prototype methods only once #13

Merged
merged 4 commits into from
May 6, 2015

Conversation

meyertee
Copy link
Contributor

@meyertee meyertee commented May 6, 2015

Fixes #12 by moving the originalMethods initialisation outside the factory method. Added spec using angular-mocks, the 2nd test case fails with a timeout without the code change.

basti1302 added a commit that referenced this pull request May 6, 2015
Wrap Traverson's Builder.prototype methods only once
@basti1302 basti1302 merged commit 925f17a into traverson:master May 6, 2015
@basti1302
Copy link
Member

Nice, thanks 👍

@basti1302
Copy link
Member

published in 2.1.3

@meyertee
Copy link
Contributor Author

meyertee commented May 7, 2015

Great, thanks for the fast release!

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.

Promises aren't resolved when testing with angular-mocks
2 participants