{"version":3,"sources":["../../src/sections/contributing.test.ts"],"sourcesContent":["import { contributingSection } from './contributing.js';\n\ndescribe('contributing', () => {\n  it('should return the correct markdown syntax using the default title', () => {\n    expect(contributingSection().synthesize()).toBe(\n      [\n        '## Contributing',\n        'Contributions are always welcome!',\n        'See `contributing.md` for ways to get started.',\n        \"Please adhere to this project's `code of conduct`.\",\n      ].join('\\n\\n'),\n    );\n  });\n\n  it('should return the correct markdown syntax using a custom title', () => {\n    expect(\n      contributingSection({ title: 'Custom Contributing' }).synthesize(),\n    ).toBe(\n      [\n        '## Custom Contributing',\n        'Contributions are always welcome!',\n        'See `contributing.md` for ways to get started.',\n        \"Please adhere to this project's `code of conduct`.\",\n      ].join('\\n\\n'),\n    );\n  });\n\n  it('should return the correct markdown syntax using custom content', () => {\n    expect(\n      contributingSection({\n        content: 'Custom Content',\n      }).synthesize(),\n    ).toBe(\n      [\n        '## Contributing',\n        'Contributions are always welcome!',\n        'See `contributing.md` for ways to get started.',\n        \"Please adhere to this project's `code of conduct`.\",\n        'Custom Content',\n      ].join('\\n\\n'),\n    );\n  });\n\n  it('should return the correct markdown syntax using array of custom content', () => {\n    expect(\n      contributingSection({\n        content: ['Custom Content 1', 'Custom Content 2'],\n      }).synthesize(),\n    ).toBe(\n      [\n        '## Contributing',\n        'Contributions are always welcome!',\n        'See `contributing.md` for ways to get started.',\n        \"Please adhere to this project's `code of conduct`.\",\n        'Custom Content 1',\n        'Custom Content 2',\n      ].join('\\n\\n'),\n    );\n  });\n});\n"],"mappings":";AAAA,0BAAoC;AAEpC,SAAS,gBAAgB,MAAM;AAC7B,KAAG,qEAAqE,MAAM;AAC5E,eAAO,yCAAoB,EAAE,WAAW,CAAC,EAAE;AAAA,MACzC;AAAA,QACE;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF,EAAE,KAAK,MAAM;AAAA,IACf;AAAA,EACF,CAAC;AAED,KAAG,kEAAkE,MAAM;AACzE;AAAA,UACE,yCAAoB,EAAE,OAAO,sBAAsB,CAAC,EAAE,WAAW;AAAA,IACnE,EAAE;AAAA,MACA;AAAA,QACE;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF,EAAE,KAAK,MAAM;AAAA,IACf;AAAA,EACF,CAAC;AAED,KAAG,kEAAkE,MAAM;AACzE;AAAA,UACE,yCAAoB;AAAA,QAClB,SAAS;AAAA,MACX,CAAC,EAAE,WAAW;AAAA,IAChB,EAAE;AAAA,MACA;AAAA,QACE;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF,EAAE,KAAK,MAAM;AAAA,IACf;AAAA,EACF,CAAC;AAED,KAAG,2EAA2E,MAAM;AAClF;AAAA,UACE,yCAAoB;AAAA,QAClB,SAAS,CAAC,oBAAoB,kBAAkB;AAAA,MAClD,CAAC,EAAE,WAAW;AAAA,IAChB,EAAE;AAAA,MACA;AAAA,QACE;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF,EAAE,KAAK,MAAM;AAAA,IACf;AAAA,EACF,CAAC;AACH,CAAC;","names":[]}