Skip to content

mapRowToPattern

mapRowToPattern(row): object

Defined in: packages/core/src/store/pattern-mapper.ts:25

Maps a raw database row to a FlakyPattern, handling type coercion differences across SQLite, Turso, and Postgres drivers.

PatternRow

object

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

lastErrorMessage: string | null

lastErrorStack: string | null

lastFailed: string

priorFails: number

recentFails: number

testFile: string

testName: string