Cover remaining Sass families and fix autocomplete hover
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s

This commit is contained in:
Shinuwa 2026-09-14 13:58:40 +02:00
parent 77f357e056
commit e52d6e66eb
13 changed files with 617 additions and 286 deletions

View file

@ -1,4 +1,4 @@
// Rôle : vérifie que les contrôles React critiques restent actifs dans la configuration ESLint effective.
// Rôle : vérifie les règles React actives et l'exclusion des artefacts générés du lint.
import { test } from "node:test";
import assert from "node:assert/strict";
import { ESLint } from "eslint";
@ -10,3 +10,11 @@ test("React effect and purity checks are enabled for application sources", async
assert.ok(config.rules[rule][0] > 0, `${rule} must remain enabled`);
}
});
test("browser reports are ignored without excluding authored E2E tests", async () => {
const eslint = new ESLint();
for (const path of ["playwright-report/trace/assets/viewer.js", "test-results/production/trace.js"]) {
assert.equal(await eslint.isPathIgnored(path), true, path);
}
assert.equal(await eslint.isPathIgnored("e2e/nds-controls.spec.js"), false);
});