Skip to content

Commit

Permalink
Merge pull request #2 from afeld/patch-1
Browse files Browse the repository at this point in the history
add instructions for conversion from grunt-simple-mocha
  • Loading branch information
gregrperkins committed Apr 2, 2013
2 parents d400c46 + fd7a085 commit d6ec5e1
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,34 @@ But Mocha really likes letting ``uncaughtException``s run free.

![Imgur](http://i.imgur.com/1Q09mCj.png)

## Converting from grunt-simple-mocha

```javascript
// package.json

"grunt-simple-mocha": "~0.x.x"
// -- to --
"grunt-mocha-hack": "~0.1.0"
```

```javascript
// grunt.js or Gruntfile.js

simplemocha: {
// ...
}
// -- to --
'mocha-hack': {
// ...
}

grunt.loadNpmTasks('grunt-simple-mocha');
// -- to --
grunt.loadNpmTasks('grunt-mocha-hack');
```

----------------------

If you're running tests that should actually be in a browser engine, try:
[grunt-mocha](https://github.com/kmiyashiro/grunt-mocha).

Expand Down

0 comments on commit d6ec5e1

Please sign in to comment.