mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
- We've been seeing weird errors with tables not existing when running tests locally - This appears to happen after an error causes the tests to abort - This change includes two fixes: 1. we triggers a full DB reset just before the entire test suite runs - this is done by wrapping the override file for tests that use a db, and supplying a mochaGlobalSetup hook 2. catch errors when attempting to do a fast truncation-based reset & init, and do a full reset & init instead - These two changes should ensure the DB is always in the state we expect when running a new test suite |
||
---|---|---|
.. | ||
e2e-api | ||
e2e-browser | ||
e2e-frontend | ||
e2e-server | ||
integration | ||
regression | ||
unit | ||
utils | ||
.eslintignore | ||
.eslintrc.js | ||
.jshintrc |