"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const behavior_intelligence_1 = require("../walls/03-knowledge/decisions/behavior-intelligence");
describe('behavior-intelligence (Unit 1.4)', () => {
    test('detectBlindSpots returns valid structure with spots array', () => {
        const spots = (0, behavior_intelligence_1.detectBlindSpots)(process.cwd());
        expect(Array.isArray(spots)).toBe(true);
    });
    test('detectBlindSpots detects null-safety issues (counter is now incremented)', () => {
        const spots = (0, behavior_intelligence_1.detectBlindSpots)(process.cwd());
        const nullSafety = spots.find(s => s.area === 'null-safety');
        if (nullSafety) {
            expect(nullSafety.fileCount).toBeGreaterThan(0);
        }
    });
    test('buildIntelligenceReport works on real project', () => {
        const report = (0, behavior_intelligence_1.buildIntelligenceReport)(process.cwd());
        expect(report).toBeDefined();
    });
});
//# sourceMappingURL=behavior-intelligence-bug.test.js.map