0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test
Naz 5a62253466 Removed "router" dependency from UrlGenerator
refs https://github.com/TryGhost/Toolbox/issues/127

- Passing around whole instance of a frontend router was an overkill when there are only 3 static pieces of information that needed to be loaded. Extracting the router out makes the UrlGenerator way more readable, tests slimer, and the memory footpring of the process should be slightly lighter
- The toString overloading didn't make sense at the time of this refactor, maybe if there's a concrete usecase we could resurect it in a form of passing in a router's name or something.
2021-11-15 18:32:34 +04:00
..
e2e-api Exposed tenorApiKey via config endpoint if set (#13734) 2021-11-11 18:07:19 +00:00
e2e-frontend Updated e2e tests to be async/await 2021-10-06 15:51:05 +01:00
e2e-server Fixed ETag header for admin templates not changing between versions (#13680) 2021-10-22 14:25:58 +01:00
integration Removed "router" dependency from UrlGenerator 2021-11-15 18:32:34 +04:00
regression 🐛 Fixed setting Tier prices after changing Stripe accounts 2021-11-10 14:03:03 +02:00
unit Extracted an explicit "permalink" parameter in UrlGenerator constructor 2021-11-15 18:32:34 +04:00
utils Added audio upload support to Media API 2021-11-09 16:39:33 +04:00
.eslintignore
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc