Skip to content

Remove tck #438

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

Merged
merged 3 commits into from
Jan 17, 2019
Merged

Remove tck #438

merged 3 commits into from
Jan 17, 2019

Conversation

zhenlineo
Copy link
Contributor

Removing tck.
Thinking of merging to 2.0.

var profile = summary.profile;
var plan = summary.plan;

verifyPlansAreEqual(profile, plan);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can isEqual from lodash be used instead of this function?
I.e. expect(_.isEqual(profile, plan)).toBeTruthy()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, my bad, I am actually compare profile and plan. The profile has two extra fields, so the isEqual will not work. Change the method name to verifyProfileAndPlanEqual instead.

it('should get result summary', done => {
// When & Then
session.run("CREATE (p:Person { Name: 'Test'})").then(result => {
var summary = result.summary;
Copy link
Contributor

Choose a reason for hiding this comment

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

Imho it is better to always use let or const instead of var because they have a narrower scope.

Removed cucumber from dependency.
@zhenlineo zhenlineo merged commit c7d80dd into neo4j:1.7 Jan 17, 2019
@zhenlineo zhenlineo deleted the 2.0-remove-tck branch January 17, 2019 11:18
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