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

Rename Tour.options.defaults to Tour.options.defaultStepOptions. #244

Merged
merged 1 commit into from
Sep 12, 2018

Conversation

BrianSipple
Copy link
Contributor

Closes #240.

Copy link
Member

@RobbieTheWagner RobbieTheWagner left a comment

Choose a reason for hiding this comment

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

The defaults -> defaultStepOptions parts look good! Just one requested change on the yarn test stuff.

package.json Outdated
@@ -34,11 +34,12 @@
"rewrite-paths": "replace 'SF:.*src' 'SF:src' coverage/lcov.info",
"start": "yarn watch",
"start-test-server": "http-server",
"test": "cross-env NODE_ENV=test webpack --config webpack.test.config.js && yarn mocha-headless-chrome",
Copy link
Member

Choose a reason for hiding this comment

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

I don't know if I agree with this change. I typically run yarn test:ci as the full test suite, to run all unit and acceptance tests, so if you want a yarn test command, we should just have "test": "yarn test:ci", but I'm also not sure we need a yarn test command, since we can just use yarn test:ci. I'm okay with it though, if we make it run all the tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I feel like it's useful to have a plain test command so new developers can instantly see which one is the default -- but I'm totally open to suggestions as to what it should say 😄!

My original attempt was to just run mocha-headless-chrome, but that wasn't rebuilding the code as I made changes -- so that's how I ended up with the longer set of commands. I just updated again to use yarn test:ci instead.

@RobbieTheWagner RobbieTheWagner merged commit 770168d into master Sep 12, 2018
@RobbieTheWagner RobbieTheWagner deleted the change-tour-options-defaults branch September 12, 2018 10:33
RobbieTheWagner pushed a commit to RobbieTheWagner/ember-shepherd that referenced this pull request Sep 13, 2018
RobbieTheWagner pushed a commit to RobbieTheWagner/ember-shepherd that referenced this pull request Sep 13, 2018
* Rename `defaults` to `defaultStepOptions`.

Corresponds to shipshapecode/shepherd#244.

* Update shepherd.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants