UNPKG

kayle

Version:

Extremely fast and accurate accessibility engine built for any headless tool like playwright or puppeteer.

26 lines 701 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Watcher = void 0; function Watcher() { this.timer = null; } exports.Watcher = Watcher; Watcher.prototype.watch = function (timeout) { return new Promise((resolve) => { this.timer = setTimeout(() => resolve({ documentTitle: "", pageUrl: "", meta: { errorCount: 0, warningCount: 0, noticeCount: 0, accessScore: 0, }, automateable: { missingAltIndexs: [], }, issues: [], }), timeout); }); }; //# sourceMappingURL=watcher.js.map