test: Add a `--no-mapping` flag to run tests without specific content files (i.e., test contains all the URLs it needs)

jts-askai-group-filters
Jason Stirnaman 2025-11-12 11:26:59 -06:00
parent ca9440cb35
commit 018538580b
1 changed files with 4 additions and 4 deletions

View File

@ -152,7 +152,9 @@ async function main() {
// If --no-mapping is used, file paths are optional
if (!noMapping && fileArgs.length === 0) {
console.error('No file paths provided.');
console.error('Use --no-mapping flag to skip content mapping for functionality tests.');
console.error(
'Use --no-mapping flag to skip content mapping for functionality tests.'
);
process.exit(1);
}
@ -437,9 +439,7 @@ async function main() {
const testFailureCount = results?.totalFailed || 0;
if (testFailureCount > 0) {
console.warn(
` Note: ${testFailureCount} test(s) failed.`
);
console.warn(` Note: ${testFailureCount} test(s) failed.`);
// Provide detailed failure analysis
if (results) {