Ghost/ghost/core/test/utils
Daniel Lockyer b27ea8f504
Optimized database resets for local testing
- we've had an optimization in CI that copies a fresh SQLite DB to a
  file, and copies it back when we need to do a DB reset
- I originally only let this run in CI but we've had it around for a
  while so we should GA it to run on local machines
- there may be edge cases, but we should fix them instead of letting
  tests run slower for development
- this also makes sure we clean up any existing files before
  initializing the DB
2022-08-15 16:58:56 +02:00
..
agents Moved test agents into subfolder 2022-07-26 18:00:37 +02:00
fixtures Updated tests to incl. host limit cases for core integrations 2022-08-12 14:18:44 +01:00
mocks Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
admin-utils.js 🐛 Fixed missing published Admin assets when running in development 2022-08-04 10:55:35 +02:00
api.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
assertions.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
configUtils.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
db-utils.js Optimized database resets for local testing 2022-08-15 16:58:56 +02:00
e2e-framework-mock-manager.js Fixed TXT content of report emails (#15090) 2022-07-25 15:27:38 +01:00
e2e-framework.js Moved test agents into subfolder 2022-07-26 18:00:37 +02:00
e2e-utils.js Improved performance of prepareContentFolder function 2022-08-01 08:58:13 +02:00
fixture-utils.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
index.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
overrides.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
redirects.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
url-service-utils.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
urlUtils.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00