I am getting error for below line of code. I am not bale to understand how it will always evaluate to true. As there can be the case where tested is not passed as a req parameter. Can anyone help me understand why it is always true.
if (req && req.params.tetsid !== undefined) {