Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

feat: modifica modalità di controllo ordine voci per criteri C.SI.1.3 e R.SC.1.2 #544

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/audits/municipality/serviziAudit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { CheerioAPI } from "cheerio";
import {
checkBreadcrumb,
checkOrder,
checkOrderLoose,

Check failure on line 9 in src/audits/municipality/serviziAudit.ts

View workflow job for this annotation

GitHub Actions / static-checks

'"../../utils/utils"' has no exported member named 'checkOrderLoose'. Did you mean 'checkOrder'?
getPageElementDataAttribute,
getRandomNString,
loadPageData,
Expand Down Expand Up @@ -166,7 +166,7 @@
let indexElements = await getServicesFromIndex($, mandatoryIndexVoices);

const mandatoryMenuItems = mandatoryIndexVoices.map(toMenuItem);
const orderResult = checkOrder(mandatoryMenuItems, indexElements);
const orderResult = checkOrderLoose(mandatoryMenuItems, indexElements);

const indexElementsWithContent: string[] = [];

Expand Down
4 changes: 2 additions & 2 deletions src/audits/school/serviziAudit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import lighthouse from "lighthouse";
import {
checkBreadcrumb,
checkOrder,
checkOrderLoose,

Check failure on line 8 in src/audits/school/serviziAudit.ts

View workflow job for this annotation

GitHub Actions / static-checks

'"../../utils/utils"' has no exported member named 'checkOrderLoose'. Did you mean 'checkOrder'?
getElementHrefValuesDataAttribute,
getPageElementDataAttribute,
loadPageData,
Expand Down Expand Up @@ -166,7 +166,7 @@
let indexElements = await getServicesFromIndex($, mandatoryVoices);

const mandatoryMenuItems = mandatoryVoices.map(toMenuItem);
const orderResult = checkOrder(mandatoryMenuItems, indexElements);
const orderResult = checkOrderLoose(mandatoryMenuItems, indexElements);

//For Contatti we don't check its content
const indexElementsWithContent: string[] = ["Contatti"];
Expand Down
Loading