100xdevs-cohort-2 / assignments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test for Week-3/02-jwt behaving different than expected

NotTheRightGuy opened this issue · comments

In the test for function decodeJwt we need to return the decoded payload of the JWT if the token is valid as mentioned in the comment, but the test expect the output to be true instead of the decoded payload

image

Test file for this function
image