UNPKG

e2ed

Version:

E2E testing framework over Playwright

20 lines (19 loc) 507 B
import type { LogParams } from './log'; import type { RunLabel } from './runLabel'; /** * Printed fields of `E2edError` instances for `toJSON`, `toString` and `inspect.custom` methods. */ export type E2edPrintedFields = Readonly<{ dateTimeInIso: string; message: string; params: LogParams | undefined; runLabel: RunLabel | undefined; stackTrace: readonly string[]; }>; /** * JS error from browser. */ export type JsError = Readonly<{ dateTimeInIso: string; error: Error; }>;