UNPKG

testplane

Version:

Tests framework based on mocha and wdio

14 lines (13 loc) 494 B
export declare const SERIALIZED_ERROR_MARKER = "__testplane_serialized_error__"; type UnknownRecord = Record<string, unknown>; type SerializedWorkerError = UnknownRecord & { [SERIALIZED_ERROR_MARKER]: true; isThrownNonError?: true; value?: unknown; message?: string; stack?: string; name?: string; }; export declare function deserializeWorkerError(value: unknown): unknown; export declare function serializeWorkerError(error: unknown): SerializedWorkerError; export {};