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

Add some tour tests #216

Merged
merged 2 commits into from
Aug 23, 2018
Merged

Add some tour tests #216

merged 2 commits into from
Aug 23, 2018

Conversation

RobbieTheWagner
Copy link
Member

No description provided.

let name, step;

// If we just have one argument, we can assume it is an object of step options, with an id
if (_.isUndefined(arg2)) {
Copy link
Member

Choose a reason for hiding this comment

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

what's the benefit of renaming the args?

Copy link
Member Author

Choose a reason for hiding this comment

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

They were not truly name and step. Really, this is behaving as an overloaded method. If there is just one arg, there is no name, but name is the first param. It confused me with the naming, so I renamed them.

Copy link
Member

@chuckcarpenter chuckcarpenter left a comment

Choose a reason for hiding this comment

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

LGTM

@chuckcarpenter
Copy link
Member

@RobbieTheWagner RobbieTheWagner merged commit a9c32a4 into master Aug 23, 2018
@RobbieTheWagner RobbieTheWagner deleted the tour-tests branch August 23, 2018 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants