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
b70cdb7f
...
b70cdb7f4c52f64dae9550523c5d4d53f8d089c1
authored
2012-12-18 23:14:15 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed cannot chain sync and async tests
1 parent
484639be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
modules/tester.js
modules/tester.js
View file @
b70cdb7
...
...
@@ -709,13 +709,14 @@ Tester.prototype.begin = function begin(description, suiteFn) {
"use strict"
;
description
=
description
||
"Untitled suite in "
+
this
.
currentTestFile
;
this
.
comment
(
description
);
this
.
executed
=
0
;
this
.
currentSuite
=
new
TestSuiteResult
({
name
:
description
,
file
:
this
.
currentTestFile
});
this
.
executed
=
0
;
this
.
running
=
true
;
try
{
suiteFn
.
call
(
this
,
this
.
casper
);
suiteFn
.
call
(
this
,
this
,
this
.
casper
);
}
catch
(
e
)
{
this
.
uncaughtError
(
e
,
this
.
currentTestFile
,
e
.
line
);
this
.
done
();
...
...
Please
register
or
sign in
to post a comment