style(test): format validate-skills regression test (#2503)

This commit is contained in:
Alex Verkhovsky 2026-06-24 05:37:52 -07:00 committed by GitHub
parent c9813c6862
commit 4b1cb84b97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 8 deletions

View File

@ -66,10 +66,7 @@ function hasTriggerFinding(skillName) {
console.log(`\n${colors.cyan}Skill Validation — SKILL-06 trigger phrase${colors.reset}\n`);
test('deprecated skill is exempt from the trigger-phrase requirement', () => {
assert(
hasTriggerFinding('deprecated-shim') === false,
'Expected no SKILL-06 trigger finding for a DEPRECATED skill',
);
assert(hasTriggerFinding('deprecated-shim') === false, 'Expected no SKILL-06 trigger finding for a DEPRECATED skill');
});
test('active skill missing a trigger phrase is still flagged', () => {
@ -80,10 +77,7 @@ test('active skill missing a trigger phrase is still flagged', () => {
});
test('active skill with a "Use when" trigger is not flagged', () => {
assert(
hasTriggerFinding('with-trigger') === false,
'Expected no SKILL-06 trigger finding when description contains "Use when"',
);
assert(hasTriggerFinding('with-trigger') === false, 'Expected no SKILL-06 trigger finding when description contains "Use when"');
});
// --- Summary ---