mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Removed mocha retries config
no issue Retries can result in bogus error messages for any non-idempotent tests with multiple assertions, causing frustrating test debug experiences. An example: 1. Members import test runs 2. Import succeeds, count assertions pass, assertion for "import label" presence fails 3. Mocha re-runs the test 4. "Imported member" count assertions now fail because the importer won't import duplicates and the db is not cleared for each individual test for performance 5. Mocha reports a test failure as the imported count being incorrect rather than the missing label
This commit is contained in:
parent
8ceabbcfba
commit
b2798fef96
1 changed files with 0 additions and 1 deletions
|
@ -127,7 +127,6 @@ const configureGrunt = function (grunt) {
|
|||
reporter: grunt.option('reporter') || 'spec',
|
||||
timeout: '60000',
|
||||
require: ['core/server/overrides'],
|
||||
retries: '3',
|
||||
exit: true
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue