mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 05:50:35 +03:00
c2b399fc2c
refs https://github.com/TryGhost/Toolbox/issues/389 - if we enable warning logs in E2E tests, we get a bunch of error messages saying `ERROR Unhandled rejection: aborted` coming from the SQLite DB reset code - specifically, it's coming from the line that resets the DB by copying the file - this line was initially added because we would see random SQLite "malformed database" errors - I have a feeling that was due to something else, but I can't be sure - I'm also not sure how else we should shut the DB connection, as this is the recommended way but it throws an unhandled rejection - this commit is a bit of a gamble because I'm not actually sure what was causing the problem, but it gets rid of the errors locally and doesn't regress on the random failures |
||
---|---|---|
.. | ||
e2e-api | ||
e2e-browser | ||
e2e-frontend | ||
e2e-server | ||
e2e-webhooks | ||
integration | ||
regression | ||
unit | ||
utils | ||
.eslintignore | ||
.eslintrc.js |