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

Logging: Make sure logging is bound with a correct context. #10

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

maciejsmolinski
Copy link

This simple change allows to make following change in your code:

Promise
  .resolve({})
- .then(Carpet.log.bind(Carpet))
+ .then(Carpet.log)

This simple change allows to make following change in your code:

```diff
Promise
  .resolve({})
- .then(Carpet.log.bind(Carpet))
+ .then(Carpet.log)
```
@maciejsmolinski
Copy link
Author

What do you think @mateuszgachowski ?

@mateuszgachowski
Copy link
Owner

Yep. But still I have no idea why tests are falling - do you have the same problem as @Przemek with Travis auth?

@maciejsmolinski
Copy link
Author

Seems like a problem with launching browsers in SauceLabs (https://travis-ci.org/mateuszgachowski/Carpet.js/builds/114675626)

Might be worth to check the following thread: karma-runner/karma-sauce-launcher#40

@mateuszgachowski mateuszgachowski changed the base branch from master to develop April 27, 2017 20:34
@mateuszgachowski
Copy link
Owner

@maciejsmolinski the problem is here:
https://docs.travis-ci.com/user/pull-requests/#Pull-Requests-and-Security-Restrictions

I disabled testing for PRs. If you would like we can continue on this PR :)
I like the idea. If you have full PR ill merge it.

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