Skip to content

Commit

Permalink
chore(order-history): remove commented out code from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilome committed Oct 1, 2018
1 parent 1197f03 commit 88ccd51
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/seed/seed.js
Expand Up @@ -65,15 +65,6 @@ const seedData = {
],
};

// function generateValidToken(id, name, email) {
// return jwt.sign({
// userId: id,
// userName: name,
// userEmail: email,
// userStatus: email === adminEmail ? 'admin' : 'customer',
// }, process.env.JWT_SECRET).toString();
// }

function generateValidToken(userObject) {
return jwt.sign({
userId: userObject.id,
Expand Down

0 comments on commit 88ccd51

Please sign in to comment.