Ghost/ghost/collections/test/fixtures/posts.ts
Naz 3599cfdd7a
Added test coverage for collection updates
refs https://github.com/TryGhost/Team/issues/3170

- When the collection filter is updated the collection's posts should be updated automatically.
2023-06-05 16:23:02 +07:00

26 lines
635 B
TypeScript

export const posts = [{
id: 'post-1',
title: 'Post 1',
slug: 'post-1',
featured: false,
published_at: new Date('2023-03-15T07:19:07.447Z')
}, {
id: 'post-2',
title: 'Post 2',
slug: 'post-2',
featured: false,
published_at: new Date('2023-04-05T07:20:07.447Z')
}, {
id: 'post-3-featured',
title: 'Featured Post 3',
slug: 'featured-post-3',
featured: true,
published_at: new Date('2023-05-25T07:21:07.447Z')
}, {
id: 'post-4-featured',
title: 'Featured Post 4',
slug: 'featured-post-4',
featured: true,
published_at: new Date('2023-05-15T07:21:07.447Z')
}];