()
| 1 | export default function posts() { |
| 2 | const arrayOfPosts = []; |
| 3 | const n = 5; |
| 4 | |
| 5 | for (let i = 1; i < n + 1; i += 1) { |
| 6 | arrayOfPosts.push({ name: `Post ${i}`, slug: `post-${i}` }); |
| 7 | } |
| 8 | return arrayOfPosts; |
| 9 | } |
nothing calls this directly
no outgoing calls
no test coverage detected