Ghost/ghost/core/test
Daniel Lockyer 99aeb73ecc Optimized DB reset during tests
refs https://github.com/TryGhost/Toolbox/issues/592

- it turns out that `TRUNCATE` in CI takes ~300ms for all tables, but
  `DELETE FROM` takes ~30ms
- whilst truncating is generally known to be faster, I believe it's only
  faster on large tables
- this saves 90% of the time it takes to reset the DB in MySQL
2023-06-16 13:15:17 +02:00
..
e2e-api Added ability to fetch posts by collection 2023-06-16 17:28:12 +07:00
e2e-browser Fixed @tryghost/mailgun-client import 2023-05-09 13:00:18 -04:00
e2e-frontend Fixed flaky frontend members test (#16947) 2023-06-06 14:57:46 +01:00
e2e-server Fixed random timeouts with mysql2 library during tests 2023-06-13 12:52:03 +02:00
e2e-webhooks Added post_revisions as a default include for posts (#16660) 2023-04-18 11:12:35 +01:00
integration Added collections CRUD permissions 2023-06-09 21:13:06 +07:00
regression Moved serialisation of formats into the serialiser-layer 2023-06-16 09:17:47 +02:00
unit 🐛 Fixed revisions relation not linked to Posts api (#17037) 2023-06-16 09:49:12 +02:00
utils Optimized DB reset during tests 2023-06-16 13:15:17 +02:00
.eslintignore Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
.eslintrc.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00