0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-25 02:31:59 -05:00
ghost/test/e2e-api
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
..
admin Moved members importer tests to its own test file 2022-02-15 11:16:43 +01:00
content Renamed withBackend/withFrotned to backend/frontend 2021-11-22 21:56:32 +13:00
members Added scaffolding for testing Members with Stripe (#14142) 2022-02-15 15:08:58 +02:00