0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/test
Naz 8f5186995d Added unit test coverage for invalid redirects config
refs https://linear.app/tryghost/issue/CORE-86/fix-failing-site-instance-when-redirects-file-is-invalid
refs 260a47da83

- Refed commit was missing a unit test coverage.
- The approach here introduces a new pattern - using `supertest` in unit tests. I've found this to be the most expressive way to test an express app which receives certain middleware dynamically. Because there are very few moving parts the test is still extremely quick to run
2021-10-04 16:44:23 +02:00
..
api-acceptance Fixed member bulk actions acceptance tests 2021-10-01 14:21:14 +02:00
frontend-acceptance Added /email/ route to robots.txt 2021-08-10 13:45:53 +04:00
regression Added offers table (#13381) 2021-10-01 12:18:33 +02:00
unit Added unit test coverage for invalid redirects config 2021-10-04 16:44:23 +02:00
utils Moved route settings initialization to backend 2021-09-28 04:59:41 +13:00
.eslintignore
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc