Skip to content

Commit debf41e

Browse files
authored
Merge pull request #457 from contentstack/fix/sanity-test-user-login
Fix assertion in user info test to check for undefined uid
2 parents e56277e + 8230047 commit debf41e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sanity-check/api/oauth-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe('OAuth Authentication API Test', () => {
3333

3434
it('should get Current user info test', done => {
3535
client.getUser().then((user) => {
36-
expect(user.uid).not.to.be(undefined)
36+
expect(user.uid).to.not.be.equal(undefined)
3737
done()
3838
})
3939
.catch(done)

0 commit comments

Comments
 (0)