Skip to content

generatePrompt

generatePrompt(pattern, windowDays?): string

Defined in: packages/core/src/report/prompt.ts:8

Generates a structured investigation prompt for a flaky test pattern. Designed to be pasted directly into an AI assistant (Claude, Cursor, Copilot).

("unknown" | "assertion" | "timeout" | "uncaught")[]

string | null

string | null

string

number

number

string

string

number = 7

string