ng-qcauto
Version:
Effortless, stable test IDs for Angular apps. Automatically injects data-qcauto attributes for QA and test automation teams without cluttering templates.
15 lines (11 loc) • 376 B
TypeScript
interface QcAutoConfig {
tags: string[];
classes: string[];
ids: string[];
clickToCopy?: boolean;
}
declare function initQcAutoGlobal(): void;
declare function domPathWithinHost(el: Element, host: Element): string;
declare function hashBase36(input: string): string;
export { domPathWithinHost, hashBase36, initQcAutoGlobal };
export type { QcAutoConfig };