diff --git a/test-sections.js b/test-sections.js new file mode 100644 index 000000000..e0f823169 --- /dev/null +++ b/test-sections.js @@ -0,0 +1,14 @@ +// Test parseMarkdownWithSections function +const { parseMarkdownWithSections } = require('./src/app/util/parse-markdown-tasks.ts'); + +const testMarkdown = `# Backend Tasks +- Setup API routes +- Configure database + +# Frontend Tasks +- Create login component +- Add authentication`; + +console.log('Testing parseMarkdownWithSections...'); +const result = parseMarkdownWithSections(testMarkdown); +console.log('Result:', JSON.stringify(result, null, 2));