UNPKG

askui

Version:

Reliable, automated end-to-end-testing that depends on what is shown on your screen instead of the technology you are running on

21 lines (20 loc) 880 B
/** * Options for configuring how AI elements are collected. * * @interface AIElementArgs * * @property {string[]} additionalLocations - Additional directories to search for AI elements. * These directories will be checked for the presence of AI element files. * * @property {'Warn' | 'Error' | 'Ignore'} onLocationNotExist - Action to take when * one or more specified directories do not exist. * - `'warn'` → Logs a warning if a directory is missing. * - `'error'` → Throws an error if a directory is missing. * - `'igone'` → Skips missing directories without logging anything. * This action is triggered when specified directories do not exist, * not when AI elements within those directories are missing. */ export interface AIElementArgs { additionalLocations: string[]; onLocationNotExist?: 'warn' | 'error' | 'ignore'; }