"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const vitest_1 = require("vitest");
const index_1 = require("./index");
(0, vitest_1.describe)('SDK API application templates', () => {
    (0, vitest_1.it)('classifies app-fullstack as the 3.0 SDK API template', () => {
        (0, vitest_1.expect)((0, index_1.isSdkApiTemplate)('app-fullstack')).toBe(true);
        (0, vitest_1.expect)((0, index_1.isSdkApiCommitTemplate)('app-fullstack')).toBe(true);
    });
    vitest_1.it.each([undefined, null, '', index_1.LEGACY_COMMIT_TEMPLATE_NAME, 'shadcn-demo-app'])('classifies %s as a legacy non-SDK API commit template', (templateName) => {
        (0, vitest_1.expect)((0, index_1.isSdkApiCommitTemplate)(templateName)).toBe(false);
    });
    (0, vitest_1.it)('normalizes missing commit templates to the legacy template name', () => {
        (0, vitest_1.expect)((0, index_1.effectiveCommitTemplateName)(undefined)).toBe(index_1.LEGACY_COMMIT_TEMPLATE_NAME);
        (0, vitest_1.expect)((0, index_1.effectiveCommitTemplateName)(null)).toBe(index_1.LEGACY_COMMIT_TEMPLATE_NAME);
    });
});
//# sourceMappingURL=index.test.js.map