MCPcopy
hub / github.com/realworld-apps/realworld / generateUniqueArticle

Function generateUniqueArticle

specs/e2e/helpers/articles.ts:75–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73}
74
75export function generateUniqueArticle(): ArticleData {
76 const timestamp = Date.now();
77 return {
78 title: `Test Article ${timestamp}`,
79 description: `Description for test article ${timestamp}`,
80 body: `This is the body content for test article created at ${timestamp}. It contains enough text to be meaningful.`,
81 tags: ['test', 'playwright'],
82 };
83}

Callers 5

social.spec.tsFile · 0.90
comments.spec.tsFile · 0.90
navigation.spec.tsFile · 0.90
articles.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected