feat: write company, role, fit, verdict, location and posting as note properties
This commit is contained in:
+1
-1
@@ -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]]",
|
||||
} {
|
||||
|
||||
Reference in New Issue
Block a user