馃悰 [Bug] JWT Is Expired In Decode Tests
Created by: Tirokk
馃悰 Bug Report
Error
JWT is expired in decode tests:
backend/src/jwt/decode.spec.js
Solution
Replace it with a new one:
- run db
- run backend
- seed db
- go into the GraphQL Playground in the browser at
http://localhost:4000
and do the login mutation:
mutation {
login(email:"user@example.org", password:"1234")
}
- replace this token in the test with the one you received as the result