Ghost/ghost/members-api/test
Naz 0e094b371b
Reused getDefaultProduct where possible
refs 82ed10473b
refs https://github.com/TryGhost/Team/issues/1869

- getDefaultProduct has unified logic across different places (see refed commit). It is recommended to use instead of writing custom queries prone to mistakes.
- Also added more readable name to the possible error message thrown by setComplimentarySubscription
2022-10-20 17:23:59 +08:00
..
unit/lib Reused getDefaultProduct where possible 2022-10-20 17:23:59 +08:00
utils Added default test dir and eslintrc 2019-05-07 17:35:17 +02:00
.eslintrc.js Updated Eslint ECMAScript compatibility to 2022 2022-08-09 15:51:40 +02:00