seo-generator-server/tests/debug-capture.test.js
StillHammer 4f60de68d6 Fix BatchProcessor initialization and add comprehensive test suite
- Fix BatchProcessor constructor to avoid server blocking during startup
- Add comprehensive integration tests for all modular combinations
- Enhance CLAUDE.md documentation with new test commands
- Update SelectiveLayers configuration for better LLM allocation
- Add AutoReporter system for test automation
- Include production workflow validation tests

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-19 14:17:49 +08:00

25 lines
647 B
JavaScript

import test from 'node:test';
import assert from 'node:assert';
import { AutoReporter } from './reporters/AutoReporter.js';
/**
* TEST SIMPLE POUR DEBUGGER LA CAPTURE
*/
const autoReporter = new AutoReporter();
// Removed debug console.log to test real Node.js test runner output
test('Simple test debug', { timeout: 5000 }, async () => {
autoReporter.onTestStart('Simple test debug');
// Test simple qui passe
assert.ok(true, 'Test simple');
console.log('✅ Simple test terminé');
});
test.after(() => {
console.log(`DEBUG: Nombre de tests capturés: ${autoReporter.testResults.length}`);
autoReporter.generateReport();
});