code formatting
Showing
1 changed file
with
6 additions
and
6 deletions
... | @@ -105,12 +105,12 @@ var Tester = function Tester(casper, options) { | ... | @@ -105,12 +105,12 @@ var Tester = function Tester(casper, options) { |
105 | var timeElapsed = new Date() - this.currentTestStartTime; | 105 | var timeElapsed = new Date() - this.currentTestStartTime; |
106 | this.testResults.failuresTime.push(timeElapsed - this.lastAssertTime); | 106 | this.testResults.failuresTime.push(timeElapsed - this.lastAssertTime); |
107 | this.exporter.addFailure( | 107 | this.exporter.addFailure( |
108 | fs.absolute(failure.file), | 108 | fs.absolute(failure.file), |
109 | failure.message || failure.standard, | 109 | failure.message || failure.standard, |
110 | failure.standard || "test failed", | 110 | failure.standard || "test failed", |
111 | failure.type || "unknown", | 111 | failure.type || "unknown", |
112 | (timeElapsed - this.lastAssertTime) | 112 | (timeElapsed - this.lastAssertTime) |
113 | ); | 113 | ); |
114 | this.lastAssertTime = timeElapsed; | 114 | this.lastAssertTime = timeElapsed; |
115 | this.testResults.failures.push(failure); | 115 | this.testResults.failures.push(failure); |
116 | 116 | ... | ... |
-
Please register or sign in to post a comment