Skip to content
This repository has been archived by the owner on May 9, 2021. It is now read-only.

Commit

Permalink
bug(facebook-test): fix facebook test bug
Browse files Browse the repository at this point in the history
- fix bug in faebook test

[Fixes #161747709]
  • Loading branch information
KvNGCzA authored and mbilesanmi committed Nov 6, 2018
1 parent 3369d6b commit f7a3637
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/server/routes/facebookLogin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@ describe('Test facebook login route', () => {
}));
});

// eslint-disable-next-line max-len
const facebookCallbackResult = facebookCallback(accessToken, refreshToken, profile);

describe('Test facebook callback function', () => {
describe('Test facebook callback function', (done) => {
it('should return undefined if successful', () => {
// eslint-disable-next-line max-len
const facebookCallbackResult = facebookCallback(accessToken, refreshToken, profile, done);
should.equal(facebookCallbackResult, undefined);
});
});

0 comments on commit f7a3637

Please sign in to comment.