Better comments
This commit is contained in:
@@ -59,9 +59,10 @@ class PlaywrightService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Loops through the list of urls and runs the
|
||||||
|
* accessibility test on each url
|
||||||
*
|
*
|
||||||
* @param {*} url
|
* @returns {Array} - The list of results from the accessibility test
|
||||||
* @returns
|
|
||||||
*/
|
*/
|
||||||
async getAccessibilityResults() {
|
async getAccessibilityResults() {
|
||||||
const urls = await this.getUrlList();
|
const urls = await this.getUrlList();
|
||||||
@@ -103,10 +104,6 @@ class PlaywrightService {
|
|||||||
return results?.violations || 'No violations found';
|
return results?.violations || 'No violations found';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = PlaywrightService;
|
module.exports = PlaywrightService;
|
||||||
Reference in New Issue
Block a user