Comparing version 3.3.1 to 3.4.0
@@ -185,3 +185,5 @@ var path = require('path'), | ||
filePaths.forEach(function(filePath) { | ||
if(fileArr.indexOf(filePath) === -1) { | ||
// glob will always output '/' as a segment separator but the fileArr may use \ on windows | ||
// fileArr needs to be checked for both versions | ||
if(fileArr.indexOf(filePath) === -1 && fileArr.indexOf(path.normalize(filePath)) === -1) { | ||
fileArr.push(filePath); | ||
@@ -235,3 +237,3 @@ } | ||
Jasmine.prototype.execute = function(files, filterString) { | ||
process.on('exit', this.checkExit); | ||
this.completionReporter.exitHandler = this.checkExit; | ||
@@ -238,0 +240,0 @@ this.loadRequires(); |
@@ -9,4 +9,14 @@ module.exports = function() { | ||
this.jasmineStarted = function() { | ||
if (this.exitHandler) { | ||
process.on('exit', this.exitHandler); | ||
} | ||
}; | ||
this.jasmineDone = function(result) { | ||
completed = true; | ||
if (this.exitHandler) { | ||
process.removeListener('exit', this.exitHandler); | ||
} | ||
onCompleteCallback(result.overallStatus === 'passed'); | ||
@@ -18,2 +28,4 @@ }; | ||
}; | ||
this.exitHandler = null; | ||
}; |
@@ -12,3 +12,3 @@ { | ||
"license": "MIT", | ||
"version": "3.3.1", | ||
"version": "3.4.0", | ||
"repository": { | ||
@@ -22,4 +22,4 @@ "type": "git", | ||
"dependencies": { | ||
"glob": "^7.0.6", | ||
"jasmine-core": "~3.3.0" | ||
"glob": "^7.1.3", | ||
"jasmine-core": "~3.4.0" | ||
}, | ||
@@ -29,7 +29,8 @@ "bin": "./bin/jasmine.js", | ||
"devDependencies": { | ||
"grunt": "^1.0.1", | ||
"grunt-cli": "^1.2.0", | ||
"grunt-contrib-jshint": "^1.1.0", | ||
"shelljs": "^0.8.1" | ||
"grunt": "^1.0.3", | ||
"grunt-cli": "^1.3.2", | ||
"grunt-contrib-jshint": "^2.0.0", | ||
"shelljs": "^0.8.3", | ||
"slash": "^2.0.0" | ||
} | ||
} |
@@ -33,2 +33,10 @@ [![Build Status](https://travis-ci.org/jasmine/jasmine-npm.png?branch=master)](https://travis-ci.org/jasmine/jasmine-npm) | ||
To initialize a project for Jasmine when being installed locally | ||
`node_modules/.bin/jasmine init` | ||
or | ||
`npx jasmine init` | ||
To seed your project with some examples | ||
@@ -92,2 +100,2 @@ | ||
## License | ||
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fjasmine%2Fjasmine-npm.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjasmine%2Fjasmine-npm?ref=badge_large) | ||
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fjasmine%2Fjasmine-npm.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjasmine%2Fjasmine-npm?ref=badge_large) |
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
29411
773
100
5
+ Addedjasmine-core@3.4.0(transitive)
- Removedjasmine-core@3.3.0(transitive)
Updatedglob@^7.1.3
Updatedjasmine-core@~3.4.0