@sprucelabs/jest-json-reporter
Advanced tools
Comparing version 2.0.0 to 3.0.0
@@ -9,3 +9,3 @@ "use strict"; | ||
this.render({ | ||
status: 'testFileResult', | ||
status: 'onTestFileResult', | ||
test, | ||
@@ -17,12 +17,12 @@ testResult, | ||
onRunStart(results) { | ||
this.render({ status: 'runStart', results }); | ||
this.render({ status: 'onRunStart', results }); | ||
} | ||
onRunComplete(contexts, results) { | ||
this.render({ status: 'runComplete', contexts, results }); | ||
this.render({ status: 'onRunComplete', contexts, results }); | ||
} | ||
onTestCaseResult(test, testCaseResult) { | ||
this.render({ status: 'testCaseResult', test, testCaseResult }); | ||
this.render({ status: 'onTestCaseResult', test, testCaseResult }); | ||
} | ||
onTestFileStart(test) { | ||
this.render({ status: 'testFileStart', test }); | ||
this.render({ status: 'onTestFileStart', test }); | ||
} | ||
@@ -33,3 +33,3 @@ getLastError() { | ||
onTestResult(test, testResult) { | ||
this.render({ status: 'testResult', test, testResult }); | ||
this.render({ status: 'onTestResult', test, testResult }); | ||
} | ||
@@ -42,3 +42,3 @@ render(obj) { | ||
onTestStart(test) { | ||
this.render({ status: 'testStart', test }); | ||
this.render({ status: 'onTestStart', test }); | ||
} | ||
@@ -45,0 +45,0 @@ } |
@@ -0,1 +1,8 @@ | ||
# [3.0.0](https://github.com/sprucelabsai/jest-json-reporter/compare/v2.0.0...v3.0.0) (2020-10-23) | ||
### Breaking Changes | ||
* status names match reporter callbacks ([0c60a38](https://github.com/sprucelabsai/jest-json-reporter/commit/0c60a38)) | ||
# [2.0.0](https://github.com/sprucelabsai/jest-json-reporter/compare/v1.0.1...v2.0.0) (2020-10-23) | ||
@@ -2,0 +9,0 @@ |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"main": "./build/JsonReporter.js", | ||
@@ -12,0 +12,0 @@ "types": "./build/JsonReporter.d.ts", |
Sorry, the diff of this file is not supported yet
8047