Skip to content

Commit

Permalink
Update WebdriverIO post
Browse files Browse the repository at this point in the history
  • Loading branch information
silvenon committed Apr 26, 2015
1 parent 0e28542 commit 13705e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ history: "//github.com/twin/twin.github.io/commits/master/"
gems:
- jemoji
- jekyll-redirect-from
- jekyll-mentions

sass:
sass_dir: styles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,13 @@ Now we can run our tests with `gulp test`. Though if we add this to our `package

```js
"scripts": {
"test": "node_modules/.bin/gulp test"
"test": "gulp test"
},
```

we can run them with `npm test`. If we ever decide to switch to another task runner (which happens fairly often :stuck_out_tongue:), our test command will stay the same.

I'm using `node_modules/.bin/gulp` instead of `gulp` so people who don't have gulp installed won't have to run `npm install --global gulp` before running my tests.
This command will work even if gulp isn't installed globally, because npm will first look inside your local `node_modules/.bin` before traversing up the directory tree. (Thanks, @niksy!)

## Fixtures

Expand Down Expand Up @@ -288,7 +288,7 @@ It's all about callbacks, baby.

## Credits

Thanks to Christian Bromann, the maintainer of WebdriverIO, for reviewing this tutorial.
Thanks to @christian-bromann, the maintainer of WebdriverIO, for reviewing this tutorial.

[webdriverio]: http://webdriver.io/
[webdrivercss]: http://webdriver.io/guide/plugins/webdrivercss.html
Expand Down

0 comments on commit 13705e5

Please sign in to comment.