2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00

Set Mocha to retry failed tests 3 times

no issue

- we occasionally see random errors which fail tests
- this is a problem because it's blocking us seeing which tests are
  really failing
- for now, retry the tests 3 times to overcome the intermittent problem
  until a better solution is found
This commit is contained in:
Daniel Lockyer 2020-01-29 10:42:01 +00:00
parent b4f129f164
commit e04f55cce3

View file

@ -117,6 +117,7 @@ const configureGrunt = function (grunt) {
timeout: '30000',
save: grunt.option('reporter-output'),
require: ['core/server/overrides'],
retries: '3',
exit: true
},