Skip to content

Commit

Permalink
Fix tests attribute in testSuite and bump to 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
palmerj3 committed Nov 15, 2017
1 parent 7b60dab commit e78b16f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jest-junit",
"version": "3.2.1",
"version": "3.3.0",
"description": "A jest result processor that generates junit xml files",
"main": "index.js",
"repository": "https://github.com/palmerj3/jest-junit",
Expand Down
3 changes: 2 additions & 1 deletion utils/buildJsonResults.js
Expand Up @@ -61,7 +61,8 @@ module.exports = function (report, appDirectory, options) {
failures: suite.numFailingTests,
skipped: suite.numPendingTests,
timestamp: (new Date(suite.perfStats.start)).toISOString().slice(0, -5),
time: (suite.perfStats.end - suite.perfStats.start) / 1000
time: (suite.perfStats.end - suite.perfStats.start) / 1000,
tests: suite.numFailingTests + suite.numPassingTests + suite.numPendingTests
}
}]
};
Expand Down

0 comments on commit e78b16f

Please sign in to comment.