Ghost/test/utils
Naz 80f0ba4abf Improved WEBHOOK_SECRET initialization in tests
refs https://github.com/TryGhost/Toolbox/issues/214

- Having to fill out `process.env` variables in tests is a frustrating developer experience. Test environment should be configured with smart defaults, so the developer writing test cases would modify variables like this only is special test cases.
2022-02-17 20:26:30 +07:00
..
fixtures Updated fixture Casper@v4.7.2 & corrected README 2022-02-15 15:42:14 +00:00
mocks Colocated mock-express style utilities 2021-10-20 13:18:35 +01:00
admin-utils.js Improved dev tooling (#13118) 2021-07-05 20:02:22 +01:00
api.js Fixed handing test suite 2021-12-09 13:52:02 +04:00
assertions.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
configUtils.js Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
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 Improved webhooks e2e test bootstrap speed 2022-02-17 15:31:57 +07: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 Improved WEBHOOK_SECRET initialization in tests 2022-02-17 20:26:30 +07:00
redirects.js Split test utilities out into separate files 2021-02-16 20:17:04 +00:00
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