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

Commit

Permalink
fixed for [email protected], #4
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Oct 10, 2016
1 parent 2c02e8a commit 5ddfd58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,14 @@ function thunkMocha (mocha) {

Object.defineProperty(runnableProto, 'async', {
get: function () { return true },
set: function () {},
enumerable: true,
configurable: false
})

Object.defineProperty(runnableProto, 'sync', {
get: function () { return false },
set: function () {},
enumerable: true,
configurable: false
})
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thunk-mocha",
"version": "1.0.7",
"version": "1.0.8",
"description": "Enable support for generators in Mocha with backward compatibility.",
"main": "index.js",
"authors": [
Expand All @@ -25,7 +25,7 @@
"thunks": "^4.7.5"
},
"devDependencies": {
"mocha": "^3.1.0",
"mocha": "^3.1.1",
"standard": "^8.3.0"
},
"peerDependencies": {
Expand Down

0 comments on commit 5ddfd58

Please sign in to comment.