mocha-distributed 0.9.3 → 0.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -193,6 +193,8 @@ exports.mochaHooks = {
193
193
  duration: this.currentTest.duration,
194
194
  startTime: Date.now() - (this.currentTest.duration || 0),
195
195
  endTime: Date.now(),
196
+ retryAttempt: this.currentTest._currentRetry || 0,
197
+ retryTotal: this.currentTest._retries || 1,
196
198
  file: this.currentTest.file,
197
199
  state: stateFixed,
198
200
  failed: stateFixed === FAILED,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mocha-distributed",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "Run multiple mocha suites and tests in parallel, from different processes and different machines. Results available on a redis database.",
5
5
  "main": "index.js",
6
6
  "scripts": {