0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test/utils
Hannah Wolfe b90e367563 Fixed error handling on db truncate in tests
- if the database does not exist, ignore the error
   - tables that don't exist don't need truncating
   - instead wait until the next thing calls init, that will cause a fresh db to be created in the correct state
- inside of reset, if the truncate fails then do a full reset instead
2022-03-17 17:33:11 +00:00
..
fixtures Removed archived tiers from content api (#14329) 2022-03-16 22:02:42 +05:30
mocks
admin-api-test-agent.js
admin-utils.js
api.js
assertions.js
configUtils.js
content-api-test-agent.js Added ContentAPITestAgent 2022-02-23 17:08:56 +07:00
db-utils.js Fixed error handling on db truncate in tests 2022-03-17 17:33:11 +00:00
e2e-framework-mock-manager.js Added disableStripe method to mock manager 2022-03-10 11:35:03 +00:00
e2e-framework.js Aliased canary endpoints to point to non-versioned URLs 2022-03-14 21:22:54 +13:00
e2e-utils.js
fixture-utils.js Removed archived tiers from content api (#14329) 2022-03-16 22:02:42 +05:30
index.js Fixed bad setup call in settings integration test 2022-03-16 14:03:02 +00:00
members-api-test-agent.js
overrides.js Revert "Added global setup to reset DB before test run" 2022-03-16 21:10:49 +00:00
redirects.js
test-agent.js Removed @tryghost/jest-snapshot dependency 2022-02-22 09:41:58 +07:00
url-service-utils.js
urlUtils.js