Ghost/ghost/core/test/e2e-server
Simon Backx f50224f445
Improved network access and mocking in tests (#16371)
refs https://github.com/TryGhost/Team/issues/2667

Some tests still accessed the internet. Now network access is disabled
by default. This change also introduces two helper methods related to
networking (mocking Slack and Mailgun).

This fixes two unreliable tests:
- Staff service was accessing a Slack test API -> timeout possible
- MentionSendingService was trying to send webmentions for every post
publish/change -> possible timeouts and job issues
2023-03-07 13:20:28 +01:00
..
__snapshots__
services Improved network access and mocking in tests (#16371) 2023-03-07 13:20:28 +01:00
1-options-requests.test.js
admin.test.js
click-tracking.test.js
well-known.test.js Prevented .well-known file tests from attempting to send mail 2023-03-03 18:25:53 +00:00