The test is not passing.
I think the solution is correct (cross-checked the hint). But “The /now endpoint should have mounted middleware” is giving an error.
- I have tried to change the system time to match the server time, it is the same.
Is there any other solution to try?
Your project link(s)
solution: boilerplate-express-4 - Nix (beta) Repl - Replit
Here is the example from the challenge:
app.get('/user', function(req, res, next) {
req.user = getTheUserSync(); // Hypothetical synchronous operation
next();
}, function(req, res) {
res.send(req.user);
});
Are you following it?
system
Closed
3
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.