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
Hide 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
try
exports
.
ok
=
true
catch
e
casper
.
test
.
fail
(
'error in coffeescript module code: '
+
e
)
casper
.
test
.
done
()
exports
.
ok
=
true
...
...
tests/sample_modules/jsmodule.js
View file @
0eb189e
/*global casper*/
try
{
exports
.
ok
=
true
;
}
catch
(
e
)
{
casper
.
test
.
fail
(
'error in js module code'
+
e
);
casper
.
test
.
done
()
}
exports
.
ok
=
true
;
...
...
Please
register
or
sign in
to post a comment