Comparing version 0.1.3 to 0.2.0
@@ -7,4 +7,4 @@ const Mocha = require("mocha") | ||
return new Promise(function (resolve, reject) { | ||
this.unwrap().then((files) => { | ||
files.forEach(_ => mocha.addFile(_.file)) | ||
this.unwrap((files) => { | ||
files.forEach(file => mocha.addFile(file)) | ||
mocha.run((failures) => failures > 0 | ||
@@ -11,0 +11,0 @@ ? reject(failures + " error(s).") |
{ | ||
"name": "fly-mocha", | ||
"version": "0.1.3", | ||
"version": "0.2.0", | ||
"description": "Mocha plugin for Fly", | ||
@@ -10,4 +10,4 @@ "license": "MIT", | ||
"lint": "eslint *.js", | ||
"tape": "tape test/*.js", | ||
"test": "npm run lint && npm run tape | tspec", | ||
"setup": "npm i && npm test", | ||
"test": "npm run lint && tape test/*.js | tspec", | ||
"build": "echo No build task specified.", | ||
@@ -14,0 +14,0 @@ "deploy": "npm run test && git push origin master && npm publish", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4471