Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

test(dashboard): reword two scan failure messages

Yudhi Armyndharis94ccf36be56e
diff --git a/dashboard/src/rtl-icons.test.ts b/dashboard/src/rtl-icons.test.ts
index 3df04ba2a..31293ee3b 100644
--- a/dashboard/src/rtl-icons.test.ts
+++ b/dashboard/src/rtl-icons.test.ts
@@ -72,7 +72,7 @@ test('lucide renders the class names the mirror rule selects', () => {
test('every directional icon the app imports is mirrored under right-to-left', () => {
const used = [...new Set(tsxFiles(SRC).flatMap(importedDirectional))];
- assert.ok(used.includes('ArrowLeft') && used.includes('Send'), 'the sweep no longer finds the icons in use');
+ assert.ok(used.includes('ArrowLeft') && used.includes('Send'), 'the scan no longer finds the icons in use');
assert.deepEqual(
used.filter(name => !mirrored.has(kebab(name))),
[],
diff --git a/dashboard/src/select-chevron.test.ts b/dashboard/src/select-chevron.test.ts
index 91ed79114..20ad84f1f 100644
--- a/dashboard/src/select-chevron.test.ts
+++ b/dashboard/src/select-chevron.test.ts
@@ -64,7 +64,7 @@ function targetsSelect(selector: string, classes: Set<string>): boolean {
test('no rule that styles a select sets the background shorthand', () => {
const classes = selectClasses();
- assert.ok(classes.has('session-selector'), 'the sweep no longer finds the select classes');
+ assert.ok(classes.has('session-selector'), 'the scan no longer finds the select classes');
const offenders: string[] = [];
for (const full of filesUnder(SRC, '.css')) {
const css = readFileSync(full, 'utf8').replace(/\/\*[\s\S]*?\*\//g, '');