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.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”object
failureKinds
Section titled “failureKinds”failureKinds: (
"unknown"|"assertion"|"timeout"|"uncaught")[]
lastErrorMessage
Section titled “lastErrorMessage”lastErrorMessage:
string|null
lastErrorStack
Section titled “lastErrorStack”lastErrorStack:
string|null
lastFailed
Section titled “lastFailed”lastFailed:
string
priorFails
Section titled “priorFails”priorFails:
number
recentFails
Section titled “recentFails”recentFails:
number
testFile
Section titled “testFile”testFile:
string
testName
Section titled “testName”testName:
string