mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 18:34:09 +00:00
test: follow the qol sweep in the e2e schemas and the assertions it changed
The hand-written e2e schemas gain the new columns and place_regions, and the unit assertions take the new arguments and fields. The Public API page names GET /api/auth/app-config for the running version.
This commit is contained in:
@@ -369,7 +369,7 @@ describe('VacayCalendar', () => {
|
||||
// Now click a month card cell
|
||||
await user.click(screen.getByText('click-0'))
|
||||
|
||||
expect(toggleCompanyHoliday).toHaveBeenCalledWith('2025-01-01')
|
||||
expect(toggleCompanyHoliday.mock.calls[0][0]).toBe('2025-01-01')
|
||||
expect(toggleEntry).not.toHaveBeenCalled()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user