`vi.fn(async () => undefined)` infers `mock.calls: [][]`, so destructuring `const [groupId, fileId] = ...mock.calls[0]!` fails under TS strict tuple checks (`error TS2493: Tuple type '[]' of length '0' has no element at index '0'`). Declare the param types inline so the call-args tuple is `[number, string]`.