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

update node version to skip imported test for older version #207

Merged
merged 1 commit into from
Jun 20, 2019

Conversation

agnes512
Copy link
Contributor

Description

As we are changing to execute tests from both juggler versions 3.x and 4.x, and juggler v4 does not support Node.js 6, update node configs to skip tests for Node.js 6.

Related issues

Checklist

  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style
    guide

Copy link
Contributor

@jannyHou jannyHou left a comment

Choose a reason for hiding this comment

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

@agnes512 Specifying the major number like "node": ">=8" is good enough 😃

package.json Outdated
@@ -3,7 +3,7 @@
"version": "2.3.0",
"description": "LoopBack Connector for IBM Cloudant DB",
"engines": {
"node": ">=6"
"node": ">=8.9"
Copy link
Contributor

Choose a reason for hiding this comment

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

"node": ">=8"

Copy link
Contributor

Choose a reason for hiding this comment

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

another connector does https://github.com/strongloop/loopback-connector-mongodb/blob/master/package.json#L6 but loopback-next has 8.9 but do you think we should follow other connectors?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

@nabdelgadir @agnes512 Usually "8" is good, loopback-next restricts it to be above "8.9" because lower 8 versions don't work....But for connectors we don't have that problem.

@agnes512 agnes512 force-pushed the update-test-node-version branch from 292ceb1 to 0b4d752 Compare June 20, 2019 19:54
@agnes512 agnes512 merged commit 2c93326 into master Jun 20, 2019
@delete-merged-branch delete-merged-branch bot deleted the update-test-node-version branch June 20, 2019 20:29
package.json Show resolved Hide resolved
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.

5 participants