UNPKG

website-auditfy

Version:

> Tool for validate your project on SEO, HTML, CSS, JS, TS, Performance, Security and A11Y

19 lines 747 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BootupTimeRule = void 0; const lighthouse_helper_1 = require("../../../linters/lighthouse.helper"); class BootupTimeRule { constructor(dom, lightHouse) { this.id = 'bootup-time'; this.tags = ['performance']; this.description = 'JavaScript execution time'; this.ruleUrl = 'https://developer.chrome.com/docs/lighthouse/performance/bootup-time/'; this.dom = dom; this.lightHouse = lightHouse; } check() { return lighthouse_helper_1.LighthouseHelper.identifyRule(this.id, this.ruleFlow, this.lightHouse); } } exports.BootupTimeRule = BootupTimeRule; //# sourceMappingURL=bootup-time.rule.js.map