axe Aggregator appending on previous url results. Causing incorrect result (#2928)
This commit is contained in:
parent
440713350d
commit
97d7bda059
|
|
@ -162,8 +162,9 @@ module.exports = {
|
|||
}
|
||||
|
||||
const errorStats = new Stats();
|
||||
const axeAggregatorPerURL = new AxeAggregator(this.options);
|
||||
let axeAggregatorPerURL;
|
||||
for (let resultIndex = 0; resultIndex < result.length; resultIndex++) {
|
||||
axeAggregatorPerURL = new AxeAggregator(this.options);
|
||||
// If we use scripts or multiple, use the URL from the tested page
|
||||
// so that we can handle click on links etc
|
||||
// see https://github.com/sitespeedio/sitespeed.io/issues/2260
|
||||
|
|
|
|||
Loading…
Reference in New Issue