Ghost/ghost/member-attribution/test
Fabien "egg" O'Carroll f523e1eb6b Refactored UrlHistory to use static factory method
This keeps the constructor clean, relying on types for validation,
whilst preserving the validation when creating the instance. The
constructor is now private so that the factory which handles
validation is always used.

The tests have also been updated to test the public factory interface
rather than the internal validation methods. Validation has been
rolled into a single method and slightly improved in the way of
readability.
2022-08-25 16:09:34 -04:00
..
utils Added member attribution events and storage (#15243) 2022-08-18 17:38:42 +02:00
.eslintrc.js Added member attribution events and storage (#15243) 2022-08-18 17:38:42 +02:00
attribution.test.js Refactored UrlHistory to use static factory method 2022-08-25 16:09:34 -04:00
event-handler.test.js Improved dependency structure of member-attribution package 2022-08-22 11:36:24 +02:00
history.test.js Refactored UrlHistory to use static factory method 2022-08-25 16:09:34 -04:00
service.test.js Added member attributions to activity feed (#15283) 2022-08-24 11:17:28 -04:00
url-translator.test.js Added member attributions to activity feed (#15283) 2022-08-24 11:17:28 -04:00