Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Jul 30, 2016
1 parent e3a7fc5 commit 860675b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- "iojs"
- "4"
- "5"
- "6"
sudo: false
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Enable support for generators in Mocha with backward compatibility.

[![NPM version][npm-image]][npm-url]
[![Build Status][travis-image]][travis-url]
[![Downloads][downloads-image]][downloads-url]

It is similar to [Co Mocha](https://github.com/blakeembrey/co-mocha), but it is a different implementation and more powerful. It is a perfect patch for mocha!

Expand Down Expand Up @@ -73,3 +74,6 @@ it('test5', function () {

[travis-url]: https://travis-ci.org/thunks/thunk-mocha
[travis-image]: http://img.shields.io/travis/thunks/thunk-mocha.svg

[downloads-url]: https://npmjs.org/package/thunk-mocha
[downloads-image]: http://img.shields.io/npm/dm/thunk-mocha.svg?style=flat-square
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thunk-mocha",
"version": "1.0.3",
"version": "1.0.4",
"description": "Enable support for generators in Mocha with backward compatibility.",
"main": "index.js",
"authors": [
Expand All @@ -22,14 +22,14 @@
"node": ">= 1"
},
"dependencies": {
"thunks": "^4.1.2"
"thunks": "^4.3.0"
},
"devDependencies": {
"mocha": "^2.3.4",
"standard": "^5.4.1"
"mocha": "^2.5.3",
"standard": "^7.1.2"
},
"peerDependencies": {
"mocha": "^2.3.x || >=3.0.0-0"
"mocha": ">=2 || >=3.0.0-0"
},
"license": "MIT",
"bugs": {
Expand Down
6 changes: 3 additions & 3 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('thunk-mocha', function () {
var result = []

// support generator
before(function *() {
before(function * () {
yield thunk.delay(100)
result.push('before')
})
Expand All @@ -32,7 +32,7 @@ describe('thunk-mocha', function () {
])
})

beforeEach(function *() {
beforeEach(function * () {
yield thunk.delay(100)
result.push('beforeEach')
})
Expand All @@ -48,7 +48,7 @@ describe('thunk-mocha', function () {
}, 100)
})

it('generator', function *() {
it('generator', function * () {
yield thunk.delay(100)
result.push('generator')
})
Expand Down

0 comments on commit 860675b

Please sign in to comment.