Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
8cd8607a
...
8cd8607a9430dece9aaa906e5c8997a446507e76
authored
2012-12-16 15:36:28 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
code formatting
1 parent
12272eae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
modules/tester.js
modules/tester.js
View file @
8cd8607
...
...
@@ -105,12 +105,12 @@ var Tester = function Tester(casper, options) {
var
timeElapsed
=
new
Date
()
-
this
.
currentTestStartTime
;
this
.
testResults
.
failuresTime
.
push
(
timeElapsed
-
this
.
lastAssertTime
);
this
.
exporter
.
addFailure
(
fs
.
absolute
(
failure
.
file
),
failure
.
message
||
failure
.
standard
,
failure
.
standard
||
"test failed"
,
failure
.
type
||
"unknown"
,
(
timeElapsed
-
this
.
lastAssertTime
)
);
fs
.
absolute
(
failure
.
file
),
failure
.
message
||
failure
.
standard
,
failure
.
standard
||
"test failed"
,
failure
.
type
||
"unknown"
,
(
timeElapsed
-
this
.
lastAssertTime
)
);
this
.
lastAssertTime
=
timeElapsed
;
this
.
testResults
.
failures
.
push
(
failure
);
...
...
Please
register
or
sign in
to post a comment