feat(invoice): add send route

This commit is contained in:
2025-08-26 20:30:48 +02:00
parent 958979c62b
commit 788571162d
35 changed files with 451 additions and 193 deletions

View File

@@ -0,0 +1,27 @@
package report
import (
"testing"
)
func TestMarkdownCheckboxesToHTML(t *testing.T) {
input := `
The application must support English and German.
## TODO's
- [x] Add multiple languages to Pages
- [x] Add multiple languages to Events`
expected := `
The application must support English and German.
## TODO's
- <input type="checkbox" checked disabled> Add multiple languages to Pages
- <input type="checkbox" checked disabled> Add multiple languages to Events`
output := markdownCheckboxesToHTML(input)
if output != expected {
t.Errorf("unexpected output:\nGot:\n%s\n\nExpected:\n%s", output, expected)
}
}