mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-10-22 10:02:41 +00:00
test: type schedule collision fixture
This commit is contained in:
parent
fc5dc0baa1
commit
22e0f9f457
1 changed files with 1 additions and 1 deletions
|
|
@ -953,7 +953,7 @@ describe('scheduled resume capacity', () => {
|
|||
|
||||
it('normalizes an exhausted slot-collision retry to public capacity conflict', async () => {
|
||||
const { service, methods } = makeResumeService({ takenSlots: [], unslotted: 0 });
|
||||
methods.markRunResumeClaimed.mockResolvedValue({ conflict: 'slot-taken' });
|
||||
methods.markRunResumeClaimed.mockResolvedValue({ conflict: 'slot-taken' } as never);
|
||||
|
||||
await expect(service.claimScheduleResume('s1', '2026-08-17T12:00:00.000Z')).resolves.toEqual({
|
||||
conflict: 'capacity',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue