mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
0f4aeaaa80
refs https://github.com/TryGhost/Toolbox/issues/320 - This is an **MVP** to be able to intercept and match webhook request snapshots. The concept is similar to the one used in API E2E tests using same "matchBodySnapshot" and other "match*" methods to test the webhook **request** data - Next up here would be: 1. Header matcher 2. Mocking more than one webhook (and doing something nicer with the way the fixture data is inserted, does this logic belong to the mock-receiver? |
||
---|---|---|
.. | ||
fixtures | ||
mocks | ||
admin-api-test-agent.js | ||
admin-utils.js | ||
api.js | ||
assertions.js | ||
configUtils.js | ||
content-api-test-agent.js | ||
db-utils.js | ||
e2e-framework-mock-manager.js | ||
e2e-framework.js | ||
e2e-utils.js | ||
fixture-utils.js | ||
ghost-api-test-agent.js | ||
index.js | ||
members-api-test-agent.js | ||
overrides.js | ||
redirects.js | ||
test-agent.js | ||
url-service-utils.js | ||
urlUtils.js | ||
webhook-mock-receiver.js |