1
0

feat: v2
All checks were successful
Remote Deploy / deploy (push) Successful in 1m11s

Support of teacher absence format: "za Vn zastupuje Jk"
This commit is contained in:
2026-01-04 14:02:10 +01:00
parent 0325ce1815
commit 6b383b1af4
7 changed files with 95 additions and 12 deletions

View File

@@ -228,6 +228,18 @@ test("Me-exk", [
}
])
test("za Vn zastupuje Jk", [
{
teacher: "Ing. Zdeněk Vondra",
teacherCode: "vn",
type: "zastoupen",
zastupuje: {
teacher: "David Janoušek",
teacherCode: "jk"
},
}
])
function test(input, expectedOutput) {
const res = parseAbsence(input, teachermap);