Ghost/ghost/core/test/unit/server/models
Simon Backx a01fb5f1aa
Added post_id filter and total to activity feed API (#15650)
fixes https://github.com/TryGhost/Team/issues/2091
fixes https://github.com/TryGhost/Team/issues/2089

- Added new fixtures to make testing easier for the activity feed
- Improved E2E test coverage of activity feed with separate test file
- Added data.post_id filter to enable filtering by events related to a
given post
- Fixed return types in JSDoc of test agents (TypeScript interprets
these as `typeof Agent` if we don't add `InstanceType<Agent>`)
- Added total pagination metadata to activity feed API (to allow a basic
type of pagination using filters)
2022-10-18 15:52:04 +02:00
..
base Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
api-key.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
comment.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
custom-theme-setting.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
integration.test.js Added core type integrations to API serializer 2022-08-12 14:18:44 +01:00
invite.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
member-click-event.test.js Added post_id filter and total to activity feed API (#15650) 2022-10-18 15:52:04 +02:00
member-created-event.test.js Added ENUM validation for member/subscription created events (#15312) 2022-08-25 15:39:37 +02:00
member-feedback.test.js Added members_feedback table (#15581) 2022-10-11 13:21:31 +02:00
member-paid-subscription-event.test.js Added post_id filter and total to activity feed API (#15650) 2022-10-18 15:52:04 +02:00
member-subscribe-event.test.js Added ENUM validation for member/subscription created events (#15312) 2022-08-25 15:39:37 +02:00
member.test.js Handled storing complimentary subscription expiry 2022-08-19 18:20:52 +05:30
newsletter.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
permission.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
post.test.js Added post sentiment (#15592) 2022-10-11 17:52:14 +02:00
session.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
settings.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
single-use-token.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
stripe-customer-subscription.test.js Enabled free trials via tiers and offers 2022-08-24 19:24:31 +05:30
subscription-created-event.test.js Added ENUM validation for member/subscription created events (#15312) 2022-08-25 15:39:37 +02:00
tag.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
user.test.js Handled fetching staff users for email alerts 2022-08-25 18:01:52 +05:30