Skip to content

Commit f143b44

Browse files
Fix assertion in user info test to check for undefined uid
1 parent 0622874 commit f143b44

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.be.not.undefined
3737
done()
3838
})
3939
.catch(done)

0 commit comments

Comments
 (0)