Skip to content

Cameron Bacon #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

cameronmbacon
Copy link

No description provided.

this.tempUser = user;
return user.generateToken();
});
before(token => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think you need this before(token => { ... because it doesn't make sense.
I think it was you meant to do was '.then(token => {....' rather than 'before(token =>...'

})
.catch(err => done(err));
})
.then(done => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then here it should be before(done => {..... right here. So just switch those and resubmit and it should workout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants