In Jest I want to test an express api written like this
router.get(\'/api-does-something\', api.middleware, async (req, res) => { try { const { destr