mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 11:36:05 +00:00
test(vacay): the holiday provider cases live in the existing suites again
The two new test files mocked the db module and built VacayService by hand, which the test-mocks and new-service ratchets refuse for files without a baseline entry. The cases move back into vacay.service.test.ts and vacay.test.ts unchanged; VACAY-037 asks for a year no other case caches. The unrelated admin addon test change is reverted and two comments name the new provider.
This commit is contained in:
@@ -181,7 +181,7 @@ export function statsOf(value: unknown): VacayStatRow[] | null {
|
||||
}
|
||||
|
||||
/**
|
||||
* A country's public holidays as `list_holidays` answers them (nager.at
|
||||
* A country's public holidays as `list_holidays` answers them (Nager.Holidays
|
||||
* rows), narrowed to `region` the way the planner clears them: a holiday of
|
||||
* the whole country, or one of the region's own. A country that splits its
|
||||
* holidays by region gives nothing for a calendar without one.
|
||||
|
||||
Reference in New Issue
Block a user