Ghost/ghost/core/test
Daniel Lockyer c2b399fc2c Fixed warning about aborted connection in tests
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
2022-08-31 12:15:30 +01:00
..
e2e-api 🐛 Fixed commenting on tier-only posts (#15333) 2022-08-30 17:38:58 +02:00
e2e-browser Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
e2e-frontend Added missing return in create-stripe-update-session 2022-08-29 14:02:58 +02:00
e2e-server Removed out of date history items from UrlHistory 2022-08-25 16:09:34 -04:00
e2e-webhooks Enabled member attribution flag in all tests (#15317) 2022-08-25 15:25:01 -04:00
integration Added members_subscription_created_events table & model 2022-08-18 10:45:53 -04:00
regression Enabled member attribution flag in all tests (#15317) 2022-08-25 15:25:01 -04:00
unit 🐛 Fixed newsletters not rendering with non-HTML safe chars (#15331) 2022-08-30 11:26:01 +01:00
utils Fixed warning about aborted connection in tests 2022-08-31 12:15:30 +01:00
.eslintignore Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
.eslintrc.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00