UNPKG

testplane

Version:

Tests framework based on mocha and wdio

11 lines (10 loc) 636 B
import { BrowserError } from "./browser.js"; import { LoadPageError } from "./load-page.js"; import { ViteRuntimeError } from "./vite-runtime.js"; export type ErrorOnRunRunnable = ViteRuntimeError | BrowserError | Error; export type ErrorOnPageLoad = LoadPageError | ErrorOnRunRunnable; export type ViteError = ErrorOnPageLoad | ErrorOnRunRunnable; export declare const prepareError: (error: Error) => Error; export declare const getErrorsOnPageLoad: (initError?: Error) => ErrorOnPageLoad[]; export declare const getErrorsOnRunRunnable: (runnableError?: Error) => ViteError[]; export { BrowserError, LoadPageError, ViteRuntimeError };