Comparing version 0.1.10 to 0.1.11
{ | ||
"name": "jest-cli", | ||
"description": "Painless JavaScript Unit Testing.", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"dependencies": { | ||
@@ -6,0 +6,0 @@ "coffee-script": "1.7.1", |
@@ -186,10 +186,7 @@ /** | ||
if (runner.suites().length) { | ||
var topLevelSuite; | ||
runner.suites().forEach(function(suite) { | ||
if (suite.parentSuite === null) { | ||
topLevelSuite = suite; | ||
_extractSuiteResults(testResults, [], suite); | ||
} | ||
}); | ||
_extractSuiteResults(testResults, [], topLevelSuite); | ||
} | ||
@@ -196,0 +193,0 @@ |
@@ -78,9 +78,12 @@ /** | ||
); | ||
this._nodeHasteTestRegExp = new RegExp( | ||
'/' + utils.escapeStrForRegex(config.testDirectoryName) + '/' + | ||
'.*\\.(' + | ||
utils.escapeStrForRegex(config.testFileExtensions.join('|')) + | ||
config.testFileExtensions.map(function(ext) { | ||
return utils.escapeStrForRegex(ext); | ||
}) | ||
.join('|') + | ||
')$' | ||
); | ||
this._opts = Object.create(DEFAULT_OPTIONS); | ||
@@ -87,0 +90,0 @@ if (options) { |
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
7575
290575