Create a mock Express next function with proper typing for error handling
A properly typed mock next function
Create a mock Express next function with proper typing for error handling