0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test/utils
Fabien 'egg' O'Carroll 133a41c256
Added scaffolding for testing Members with Stripe (#14142)
refs https://github.com/TryGhost/Team/issues/1338

This adds some initial scaffolding to make it easier to test Members with Stripe
 - `mockStripe` method to disable the network, so we can use nock to intercept
Stripe API calls
- `setupStripe` method to be called _before_ getting an agent so that Stripe is 
configured
- `getMembersAPIAgent` to get an agent for the Members frontend API
2022-02-15 15:08:58 +02:00
..
fixtures Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
mocks Colocated mock-express style utilities 2021-10-20 13:18:35 +01:00
admin-utils.js
api.js Fixed handing test suite 2021-12-09 13:52:02 +04:00
assertions.js
configUtils.js
db-utils.js Restored quick database reset method via table truncation 2022-02-07 21:27:10 +01:00
e2e-framework-mock-manager.js Added scaffolding for testing Members with Stripe (#14142) 2022-02-15 15:08:58 +02:00
e2e-framework.js Added settingsCache handling to e2e-framework 2022-02-11 16:24:24 +00:00
e2e-utils.js Added settingsCache handling to e2e-framework 2022-02-11 16:24:24 +00:00
fixture-utils.js Cleaned up reference tests 2022-02-08 20:12:10 +00:00
index.js Added extra debug to test utilities 2021-11-19 10:47:21 +00:00
overrides.js Switched new e2e-framework to use our own snapshot lib (#14137) 2022-02-08 14:33:19 +00:00
redirects.js
test-agent.js Updated members regression tests to use e2e framework (#14130) 2022-02-07 17:15:55 +00:00
url-service-utils.js Removed unused parameter from isFinished method 2021-11-24 05:32:20 +13:00
urlUtils.js Updated test UrlUtils to use canary by default 2022-01-21 15:12:27 +00:00