- I chained middleware in a single
app.get()
call as required. - When I visit
/now
, I get:
{"time":"Sat Jul 06 2025 10:45:12 GMT+0000 (Coordinated Universal Time)"}
- Test 1 passes:
Passed: The /now endpoint should have mounted middleware
- But test 2 fails:
Failed: The /now endpoint should return the current time.
- I restarted Replit, tried different browsers, incognito, and resubmitted.