mirror of
https://github.com/adobe/brackets.git
synced 2024-11-20 01:42:55 +01:00
Runs jasmine-node tests as part of the test task
This commit is contained in:
parent
6be669f7a5
commit
1ca94bb595
@ -120,6 +120,11 @@ module.exports = function (grunt) {
|
||||
}
|
||||
}
|
||||
},
|
||||
'jasmine-node': {
|
||||
run: {
|
||||
spec: 'src/extensibility/node/spec/'
|
||||
}
|
||||
},
|
||||
jshint: {
|
||||
all: [
|
||||
'<%= meta.grunt %>',
|
||||
@ -146,13 +151,14 @@ module.exports = function (grunt) {
|
||||
grunt.loadNpmTasks('grunt-contrib-jasmine');
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
grunt.loadNpmTasks('grunt-contrib-jasmine-node');
|
||||
|
||||
// task: install
|
||||
grunt.registerTask('install', ['write-config']);
|
||||
|
||||
// task: test
|
||||
//grunt.registerTask('test', ['jshint', 'jasmine']);
|
||||
grunt.registerTask('test', ['jshint']);
|
||||
grunt.registerTask('test', ['jshint', 'jasmine-node']);
|
||||
|
||||
// task: set-sprint
|
||||
// Update sprint number in package.json and rewrite src/config.json
|
||||
|
@ -14,6 +14,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"grunt": "0.4.1",
|
||||
"grunt-contrib-jasmine-node": "0.1.0",
|
||||
"grunt-cli": "0.1.6",
|
||||
"phantomjs": "1.9.0-1",
|
||||
"grunt-lib-phantomjs": "0.3.0",
|
||||
|
@ -29,6 +29,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"grunt": "0.4.1",
|
||||
"grunt-contrib-jasmine-node": "0.1.0",
|
||||
"grunt-cli": "0.1.6",
|
||||
"phantomjs": "1.9.0-1",
|
||||
"grunt-lib-phantomjs": "0.3.0",
|
||||
|
Loading…
Reference in New Issue
Block a user