Ghost/ghost/core/test/utils
Fabien "egg" O'Carroll c0ca7b16f6 Added caching to TierRepository
refs https://github.com/TryGhost/Toolbox/issues/515

Tiers are very frequently queried and we want to reduce the number of DB calls
we're making. We can store the Tiers in-memory, using the existing in-memory
repository patterns, but still persisting writes the the database.

We also have to update our test helpers, because they were bypassing the
repository for writes, but using it for reads resulting in an invalid cache
2023-05-12 16:38:32 -04:00
..
agents Sped up comments and feedback tests by reusing Ghost app instance 2022-11-18 14:58:35 +01:00
fixtures Added caching to TierRepository 2023-05-12 16:38:32 -04:00
mocks Fixed Playwright tests for new email flow 2023-01-20 19:00:13 +01: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 Removed custom assertions 2023-03-10 14:29:55 +01:00
configUtils.js Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
db-utils.js Fixed warning about aborted connection in tests 2022-08-31 12:15:30 +01:00
e2e-framework-mock-manager.js Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
e2e-framework.js Added email snapshot tests to newsletter suites 2023-04-07 14:34:57 +02:00
e2e-utils.js Supported inviting users using an Admin API Integration 2023-05-08 15:27:15 -04:00
fixture-utils.js Added caching to TierRepository 2023-05-12 16:38:32 -04:00
index.js 🔒 Fixed filtering on private Author fields in Content API 2023-05-03 08:43:20 -04:00
overrides.js Added awaiting jobs and events by default to all tests (#16505) 2023-04-06 09:05:16 +02:00
redirects.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
stripe-mocker.js Added caching to TierRepository 2023-05-12 16:38:32 -04:00
url-service-utils.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
urlUtils.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00