Commit ad051b9f ad051b9fe11ae4ab4107d5db747ac9ce6fe1c406 by Nicolas Perriault

jshint coverage for casper own tests

1 parent 043c25fd
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
19 "predef" : [ 19 "predef" : [
20 "exports", 20 "exports",
21 "phantom", 21 "phantom",
22 "window" 22 "window",
23 "require"
23 ] 24 ]
24 } 25 }
......
...@@ -3,6 +3,7 @@ modules/vendors ...@@ -3,6 +3,7 @@ modules/vendors
3 modules/events.js 3 modules/events.js
4 modules/querystring.js 4 modules/querystring.js
5 samples/** 5 samples/**
6 tests/** 6 tests/clitests/**
7 tests/testdir/**
7 tmp 8 tmp
8 ./*.js 9 ./*.js
......
1 /** 1 /*global phantom, casper, patchRequire, require:true*/
2 * CasperJS local HTTP test server
3 */
4
5 /*global phantom casper patchRequire*/
6 2
7 var require = patchRequire(require); 3 var require = patchRequire(require);
8 var colorizer = require('colorizer').create('Colorizer'); 4 var colorizer = require('colorizer').create('Colorizer');
......
1 (function() { 1 (function() {
2 "use strict";
2 var elem = document.createElement('div'); 3 var elem = document.createElement('div');
3 elem.setAttribute('id', 'include1'); 4 elem.setAttribute('id', 'include1');
4 elem.appendChild(document.createTextNode('include1')); 5 elem.appendChild(document.createTextNode('include1'));
......
1 (function() { 1 (function() {
2 "use strict";
2 var elem = document.createElement('div'); 3 var elem = document.createElement('div');
3 elem.setAttribute('id', 'include2'); 4 elem.setAttribute('id', 'include2');
4 elem.appendChild(document.createTextNode('include2')); 5 elem.appendChild(document.createTextNode('include2'));
......