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
0eb189e1
...
0eb189e1b2282ff43d5a3ee2be023fb4da389171
authored
2012-11-03 16:47:50 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
simplified external module tests
1 parent
4b50af75
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
12 deletions
tests/sample_modules/csmodule.coffee
tests/sample_modules/jsmodule.js
tests/sample_modules/csmodule.coffee
View file @
0eb189e
1
try
1
exports
.
ok
=
true
2
exports
.
ok
=
true
3
catch
e
4
casper
.
test
.
fail
(
'error in coffeescript module code: '
+
e
)
5
casper
.
test
.
done
()
...
...
tests/sample_modules/jsmodule.js
View file @
0eb189e
1
/*global casper*/
1
exports
.
ok
=
true
;
2
try
{
3
exports
.
ok
=
true
;
4
}
catch
(
e
)
{
5
casper
.
test
.
fail
(
'error in js module code'
+
e
);
6
casper
.
test
.
done
()
7
}
...
...
Please
register
or
sign in
to post a comment