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

55 fix tests upgrade dependencies #56

Merged
merged 5 commits into from
Jun 2, 2017

Conversation

junajan
Copy link
Contributor

@junajan junajan commented May 31, 2017

Summary

Resolves #55

@junajan junajan self-assigned this May 31, 2017
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling f0b340e on 55-fix-tests-upgrade-dependencies into ** on master**.

@@ -41,3 +41,30 @@ exports.createReader = (fileType, delimiter = ',', encoding = 'utf-8' ) ->
csvDelimiter: delimiter,
encoding: encoding,
importFormat: fileType,

exports.unpublishAllProducts = (client) ->
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think you need to export this function as it's not used anywhere else

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hello @wizzy25 - updated here fa6e1da

sphereClient.productTypes.byId(productType.id)
.delete(productType.version)
, concurrency: 10
Helper.deleteAllProducts sphereClient
Copy link
Contributor

Choose a reason for hiding this comment

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

You could also move this function to the helper file so you export only this one and it calls the others implicitly

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hello @wizzy25 - updated here fa6e1da

Copy link
Contributor

@wizzy25 wizzy25 left a comment

Choose a reason for hiding this comment

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

Looks good to me. Just a few nitpicks

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling fa6e1da on 55-fix-tests-upgrade-dependencies into ** on master**.

Copy link
Contributor

@hisabimbola hisabimbola left a comment

Choose a reason for hiding this comment

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

Looks good...

@junajan junajan merged commit 4a364ab into master Jun 2, 2017
@junajan junajan deleted the 55-fix-tests-upgrade-dependencies branch June 2, 2017 08:41
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

4 participants