Ghost/ghost/core/test
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
..
e2e-api Improved network access and mocking in tests (#16371) 2023-03-07 13:20:28 +01:00
e2e-browser Increased timeout to allow for delays in browser e2e test 2023-02-17 12:13:09 +01:00
e2e-frontend Prevent simple error logs by stubbing log library 2023-03-03 18:25:53 +00:00
e2e-server Improved network access and mocking in tests (#16371) 2023-03-07 13:20:28 +01:00
e2e-webhooks Added milestone_notifications column (#16306) 2023-02-22 14:13:50 +02:00
integration Improved network access and mocking in tests (#16371) 2023-03-07 13:20:28 +01:00
regression Added milestone_notifications column (#16306) 2023-02-22 14:13:50 +02:00
unit Improved network access and mocking in tests (#16371) 2023-03-07 13:20:28 +01:00
utils Improved network access and mocking in tests (#16371) 2023-03-07 13:20:28 +01:00
.eslintignore Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
.eslintrc.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00