mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-09-22 18:40:42 +03:00
Switched test order so acceptance is last
- This highlights slowness as the thing that sits staring at you uncomfortably in your terminal window
This commit is contained in:
parent
e2e2925f9e
commit
c47bc35b0f
@ -450,11 +450,11 @@ const configureGrunt = function (grunt) {
|
||||
// `grunt validate` will either run all tests or run linting
|
||||
// `grunt validate` is called by `yarn test` and is used by Travis.
|
||||
grunt.registerTask('validate', 'Run tests', function () {
|
||||
grunt.task.run(['test-acceptance', 'test-unit']);
|
||||
grunt.task.run(['test-unit', 'test-acceptance']);
|
||||
});
|
||||
|
||||
grunt.registerTask('test-all', 'Run all server tests',
|
||||
['test-acceptance', 'test-unit', 'test-regression']);
|
||||
['test-unit', 'test-acceptance', 'test-regression']);
|
||||
|
||||
// ### Lint
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user