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

Tests for kue.js #778

Merged
merged 2 commits into from
Dec 16, 2015
Merged

Tests for kue.js #778

merged 2 commits into from
Dec 16, 2015

Conversation

tobalsgithub
Copy link
Contributor

This PR creates unit tests for the kue.js file. We hope to create unit tests for the entire kue repo.

Connects to #280

@behrad, we can either create individual PRs for each file, or keep adding to this PR as we get more tests written. Either way, I wanted to get this in front of you as quickly as possible so you had a chance to give feedback.

@tobalsgithub
Copy link
Contributor Author

Looks like some of the bdd tests are failing, but not sure that's related to what I did here. All the failures are the same: jobs.client.connection_option is undefined. Looks like it should be jobs.client.options instead. Want me to fix that?

@behrad
Copy link
Collaborator

behrad commented Dec 16, 2015

Good stuff @tobalsgithub Can you check why tests are failing?

@tobalsgithub
Copy link
Contributor Author

See my comment right before yours.

@tobalsgithub
Copy link
Contributor Author

Actually, looks like connection_options instead of connection_option would work as well. Don't really understand how this was working before and is now breaking.

@tobalsgithub
Copy link
Contributor Author

Went ahead and updated the tests to fix the connection issues

@behrad
Copy link
Collaborator

behrad commented Dec 16, 2015

Strange!

👍 @tobalsgithub

behrad added a commit that referenced this pull request Dec 16, 2015
@behrad behrad merged commit 5f34c68 into Automattic:master Dec 16, 2015
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.

None yet

2 participants