Tell us what’s happening:
Final 2 tests not passing and unsure what is wrong with the code. Unsure if it is a timezone issue, but even changing computer date/time does not resolve issue.
The last 2 tests are about getting a response for the empty date parameter.
Maybe you can have this code block (from your Glitch) at the beginning of the GET handler function (at present it is at the end of the function) - it checks for condition for the last two tests, and sends a response.
const dateStr = req.params.date;
if (!dateStr) {
let current = new Date();
return res.json({
"unix": current.getTime(),
"utc": current.toUTCString()
});
}