feat: write company, role, fit, verdict, location and posting as note properties

This commit is contained in:
2026-11-25 09:49:53 +01:00
parent 2218eb273b
commit cc7bb4212e
3 changed files with 23 additions and 4 deletions
+1 -1
View File
@@ -252,7 +252,7 @@ func TestRenderNote(t *testing.T) {
}
note := renderNote(pkg, "https://x.test/job", time.Date(2026, 11, 24, 10, 0, 0, 0, time.UTC))
for _, want := range []string{
"moc: \"[[00-Job Hunt]]\"\ncreated: 2026-11-24", "# Acme - Backend Engineer", "- [ ] Review and decide: **apply**, fit 82/100",
"moc: \"[[00-Job Hunt]]\"\ncreated: 2026-11-24\ncompany: \"Acme\"\nrole: \"Backend Engineer\"\nfit: 82\nverdict: \"apply\"\nlocation: \"Utrecht\"\nposting: \"https://x.test/job\"\n---", "# Acme - Backend Engineer", "- [ ] Review and decide: **apply**, fit 82/100",
"- **Posting:** https://x.test/job", "## Strengths\n- Go at Ghaaf", "## Gaps\n- No Dutch",
"## Cover letter draft\nDear hiring team,", "## Related\n- [[00-Job Hunt|Job Hunt]]\n- [[CV]]",
} {