test: expand workflow reference guard to scan installer JS

This commit is contained in:
Dicky Moore 2026-02-08 22:52:18 +00:00
parent 3aaa37125b
commit 5e8289fe26
1 changed files with 1 additions and 1 deletions

View File

@ -392,7 +392,7 @@ async function runTests() {
path.join(projectRoot, 'src', 'bmm', 'workflows', 'document-project'),
path.join(projectRoot, 'tools', 'cli', 'installers', 'lib'),
];
const allowedExtensions = new Set(['.md', '.yaml', '.yml', '.xml']);
const allowedExtensions = new Set(['.md', '.yaml', '.yml', '.xml', '.js', '.cjs', '.mjs']);
const forbiddenRefPattern = /(^|[^a-zA-Z0-9_-])workflow\.xml\b/;
const offenders = [];