Skip to content

Commit 89a3b0c

Browse files
committed
remove casperjs tests in 0.5.6-no-jsdom
1 parent 3e9ed9d commit 89a3b0c

File tree

4 files changed

+3
-24
lines changed

4 files changed

+3
-24
lines changed

Gruntfile.js

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ var getLoaderPackageName = function() {
1919
};
2020

2121
module.exports = function(grunt) {
22-
var appPort = grunt.option('app-port') || 8080;
23-
2422
// load all grunt tasks matching the `grunt-*` pattern
2523
require(getLoaderPackageName())(grunt);
2624

@@ -196,13 +194,6 @@ module.exports = function(grunt) {
196194
noApp: {
197195
src: ['test/unit/lib/**/*.js']
198196
}
199-
},
200-
201-
casperjs: {
202-
options: {
203-
casperjsOptions: ['--app-port='+appPort]
204-
},
205-
files: ['test/functional/**/*.js']
206197
}
207198
});
208199

@@ -307,8 +298,7 @@ module.exports = function(grunt) {
307298
]);
308299

309300
grunt.registerTask('ci-post-run', [
310-
'test',
311-
'test-func'
301+
'test'
312302
]);
313303

314304
grunt.registerTask('ci-post-run-win', [
@@ -332,15 +322,4 @@ module.exports = function(grunt) {
332322
grunt.task.run('mochaTest');
333323
}
334324
});
335-
336-
// Test task. Execute with running app
337-
grunt.registerTask('test-func', 'Run ALL functional tests or specified by second param', function () {
338-
// if custom mask set - `grunt test --spec=test/unit/middleware/**/*.js`
339-
var spec = grunt.option('spec');
340-
if (spec) {
341-
grunt.config.set('casperjs.files', [spec]);
342-
}
343-
344-
grunt.task.run('casperjs');
345-
});
346325
};

docs/build-tasks/readme.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ $ npm run lint
1919

2020
$ npm test
2121
$ npm run test:unit
22-
$ npm run test:func
2322
```
2423

2524
* `npm run build` - default build command for preparing SourceJS assets, used as a post-install hook and after plugin installation

docs/clarify/readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
**NOTE: Clarify is not available in `no-jsdom` build**
2+
13
SourceJS middleware, that allows to open separate documentation examples in custom or clean environment for component testing and development.
24

35
## General information

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@
6868
"watch:css": "grunt watch-css",
6969
"test": "grunt ci-pre-run && node app.js --test",
7070
"test:unit": "grunt test",
71-
"test:func": "grunt test-func",
7271
"ci-test": "grunt ci-pre-run && node app.js --test --log trace",
7372
"ci-test-win": "grunt ci-pre-run && node app.js --post-grunt ci-post-run-win --test --log trace --no-watch"
7473
},

0 commit comments

Comments
 (0)