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
ad051b9f
...
ad051b9fe11ae4ab4107d5db747ac9ce6fe1c406
authored
2013-03-11 09:26:54 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
jshint coverage for casper own tests
1 parent
043c25fd
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
.jshintconfig
.jshintignore
tests/selftest.js
tests/site/includes/include1.js
tests/site/includes/include2.js
.jshintconfig
View file @
ad051b9
...
...
@@ -19,6 +19,7 @@
"predef" : [
"exports",
"phantom",
"window"
"window",
"require"
]
}
...
...
.jshintignore
View file @
ad051b9
...
...
@@ -3,6 +3,7 @@ modules/vendors
modules/events.js
modules/querystring.js
samples/**
tests/**
tests/clitests/**
tests/testdir/**
tmp
./*.js
...
...
tests/selftest.js
View file @
ad051b9
/**
* CasperJS local HTTP test server
*/
/*global phantom casper patchRequire*/
/*global phantom, casper, patchRequire, require:true*/
var
require
=
patchRequire
(
require
);
var
colorizer
=
require
(
'colorizer'
).
create
(
'Colorizer'
);
...
...
tests/site/includes/include1.js
View file @
ad051b9
(
function
()
{
"use strict"
;
var
elem
=
document
.
createElement
(
'div'
);
elem
.
setAttribute
(
'id'
,
'include1'
);
elem
.
appendChild
(
document
.
createTextNode
(
'include1'
));
...
...
tests/site/includes/include2.js
View file @
ad051b9
(
function
()
{
"use strict"
;
var
elem
=
document
.
createElement
(
'div'
);
elem
.
setAttribute
(
'id'
,
'include2'
);
elem
.
appendChild
(
document
.
createTextNode
(
'include2'
));
...
...
Please
register
or
sign in
to post a comment