-
Notifications
You must be signed in to change notification settings - Fork 25
close #43. Changed graph creation and docs. #44
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #44 +/- ##
=======================================
Coverage 90.56% 90.56%
=======================================
Files 6 6
Lines 106 106
Branches 6 6
=======================================
Hits 96 96
Misses 10 10 Continue to review full report at Codecov.
|
37424ce
to
e51de6a
Compare
src/graph.js
Outdated
* @param {ClientOpts} [configuration.options] node_redis options | ||
*/ | ||
constructor(graphId, {host, port, options} ={}) { | ||
console.log("host = " + host + " port = " + port + " options = "+ options); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DvirDukhan "console.log"?
src/graph.js
Outdated
* @param {string | int} [configuration.port] Redis port | ||
* @param {ClientOpts} [configuration.options] node_redis options | ||
*/ | ||
constructor(graphId, {host, port, options} ={}) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DvirDukhan doesn't it create a breaking change? and which versions of nodejs support this syntax?
test/redisGraphAPITest.js
Outdated
@@ -16,8 +16,21 @@ describe("RedisGraphAPI Test", () => { | |||
return api.deleteGraph().catch(() => {}); | |||
}); | |||
|
|||
it("test bring your client", () => { | |||
return new RedisGraph("social", redis.createClient()); | |||
it("test connection from post and host", async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DvirDukhan "post"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
No description provided.