isomerpages / isomercms-backend

A static website builder and host for the Singapore Government
5 stars 1 forks source link

Fix wrong constant in test #645

Closed harishv7 closed 1 year ago

harishv7 commented 1 year ago

Problem

Wrong constant (signedToken) used instead of signedEmailToken which causes test in AuthService.spec.js to fail

Solution

Replace signedToken with signedEmailToken

Verification

Run npm run test --runInBand AuthService.spec.js to ensure everything passes

Breaking Changes