{"version":3,"sources":["../../src/sections/content-section.test.ts"],"sourcesContent":["import { ContentSection, contentSection } from './content-section.js';\n\ndescribe('Content Section', () => {\n  it('should return an instance of ContentSection', () => {\n    expect(contentSection({ title: 'Test Section' })).toBeInstanceOf(\n      ContentSection,\n    );\n  });\n\n  it('should return the correct markdown syntax with no content', () => {\n    expect(contentSection({ title: 'Test Section' }).synthesize()).toBe(\n      '## Test Section\\n\\n',\n    );\n  });\n\n  it('should return the correct markdown syntax with content', () => {\n    expect(\n      contentSection({\n        title: 'Test Section',\n        content: 'Custom Content!',\n      }).synthesize(),\n    ).toBe(['## Test Section', '', 'Custom Content!'].join('\\n'));\n  });\n\n  it('should return the correct markdown syntax an array of content', () => {\n    expect(\n      contentSection({\n        title: 'Test Section',\n        content: ['Custom Content!', 'More Content!'],\n      }).synthesize(),\n    ).toBe(\n      ['## Test Section', 'Custom Content!', 'More Content!'].join('\\n\\n'),\n    );\n  });\n\n  it('should allow adding additional content', () => {\n    expect(\n      contentSection({ title: 'Test Section', content: 'Custom Content!' })\n        .appendContent('More Content')\n        .synthesize(),\n    ).toBe(\n      ['## Test Section', '', 'Custom Content!', '', 'More Content'].join('\\n'),\n    );\n  });\n});\n"],"mappings":";AAAA,6BAA+C;AAE/C,SAAS,mBAAmB,MAAM;AAChC,KAAG,+CAA+C,MAAM;AACtD,eAAO,uCAAe,EAAE,OAAO,eAAe,CAAC,CAAC,EAAE;AAAA,MAChD;AAAA,IACF;AAAA,EACF,CAAC;AAED,KAAG,6DAA6D,MAAM;AACpE,eAAO,uCAAe,EAAE,OAAO,eAAe,CAAC,EAAE,WAAW,CAAC,EAAE;AAAA,MAC7D;AAAA,IACF;AAAA,EACF,CAAC;AAED,KAAG,0DAA0D,MAAM;AACjE;AAAA,UACE,uCAAe;AAAA,QACb,OAAO;AAAA,QACP,SAAS;AAAA,MACX,CAAC,EAAE,WAAW;AAAA,IAChB,EAAE,KAAK,CAAC,mBAAmB,IAAI,iBAAiB,EAAE,KAAK,IAAI,CAAC;AAAA,EAC9D,CAAC;AAED,KAAG,iEAAiE,MAAM;AACxE;AAAA,UACE,uCAAe;AAAA,QACb,OAAO;AAAA,QACP,SAAS,CAAC,mBAAmB,eAAe;AAAA,MAC9C,CAAC,EAAE,WAAW;AAAA,IAChB,EAAE;AAAA,MACA,CAAC,mBAAmB,mBAAmB,eAAe,EAAE,KAAK,MAAM;AAAA,IACrE;AAAA,EACF,CAAC;AAED,KAAG,0CAA0C,MAAM;AACjD;AAAA,UACE,uCAAe,EAAE,OAAO,gBAAgB,SAAS,kBAAkB,CAAC,EACjE,cAAc,cAAc,EAC5B,WAAW;AAAA,IAChB,EAAE;AAAA,MACA,CAAC,mBAAmB,IAAI,mBAAmB,IAAI,cAAc,EAAE,KAAK,IAAI;AAAA,IAC1E;AAAA,EACF,CAAC;AACH,CAAC;","names":[]}