mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
parent
e89e38dd4b
commit
609be5eb26
1 changed files with 1 additions and 7 deletions
|
@ -293,10 +293,6 @@ var path = require('path'),
|
|||
]
|
||||
},
|
||||
|
||||
api: {
|
||||
src: ['core/test/functional/api/*_test.js']
|
||||
},
|
||||
|
||||
routes: {
|
||||
src: ['core/test/functional/routes/**/*_test.js']
|
||||
}
|
||||
|
@ -909,11 +905,9 @@ var path = require('path'),
|
|||
|
||||
grunt.registerTask('test-functional', 'Run functional interface tests (CasperJS)', ['clean:test', 'setTestEnv', 'loadConfig', 'copy:dev', 'express:test', 'spawn-casperjs', 'express:test:stop']);
|
||||
|
||||
grunt.registerTask('test-api', 'Run functional api tests (mocha)', ['clean:test', 'setTestEnv', 'loadConfig', 'express:test', 'mochacli:api', 'express:test:stop']);
|
||||
|
||||
grunt.registerTask('test-routes', 'Run functional route tests (mocha)', ['clean:test', 'setTestEnv', 'loadConfig', 'mochacli:routes']);
|
||||
|
||||
grunt.registerTask('validate', 'Run tests and lint code', ['jshint', 'test-routes', 'test-unit', 'test-api', 'test-integration', 'test-functional']);
|
||||
grunt.registerTask('validate', 'Run tests and lint code', ['jshint', 'test-routes', 'test-unit', 'test-integration', 'test-functional']);
|
||||
|
||||
|
||||
// ### Coverage report for Unit and Integration Tests
|
||||
|
|
Loading…
Reference in a new issue