Fixed tests for fb.spec.js
This commit is contained in:
@@ -205,7 +205,11 @@ describe("FirebaseInstance", () => {
|
|||||||
const fbFunc = jest.spyOn(mockAuth, "signInWithPopup")
|
const fbFunc = jest.spyOn(mockAuth, "signInWithPopup")
|
||||||
|
|
||||||
const fb = new FirebaseInstance(mocksdk, {
|
const fb = new FirebaseInstance(mocksdk, {
|
||||||
github: () => {},
|
github: () => {
|
||||||
|
return {
|
||||||
|
addScope: () => {}
|
||||||
|
}
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
signOutUser()
|
signOutUser()
|
||||||
@@ -218,7 +222,11 @@ describe("FirebaseInstance", () => {
|
|||||||
const fbFunc = jest.spyOn(mockAuth, "signInWithPopup")
|
const fbFunc = jest.spyOn(mockAuth, "signInWithPopup")
|
||||||
|
|
||||||
const fb = new FirebaseInstance(mocksdk, {
|
const fb = new FirebaseInstance(mocksdk, {
|
||||||
github: () => {},
|
github: () => {
|
||||||
|
return {
|
||||||
|
addScope: () => {}
|
||||||
|
}
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
signOutUser()
|
signOutUser()
|
||||||
@@ -231,7 +239,11 @@ describe("FirebaseInstance", () => {
|
|||||||
const fbFunc = jest.spyOn(mockAuth, "signInWithPopup")
|
const fbFunc = jest.spyOn(mockAuth, "signInWithPopup")
|
||||||
|
|
||||||
const fb = new FirebaseInstance(mocksdk, {
|
const fb = new FirebaseInstance(mocksdk, {
|
||||||
github: () => {},
|
github: () => {
|
||||||
|
return {
|
||||||
|
addScope: () => {}
|
||||||
|
}
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
signOutUser()
|
signOutUser()
|
||||||
@@ -244,7 +256,11 @@ describe("FirebaseInstance", () => {
|
|||||||
const fbFunc = jest.spyOn(mockAuth, "signInWithPopup")
|
const fbFunc = jest.spyOn(mockAuth, "signInWithPopup")
|
||||||
|
|
||||||
const fb = new FirebaseInstance(mocksdk, {
|
const fb = new FirebaseInstance(mocksdk, {
|
||||||
github: () => {},
|
github: () => {
|
||||||
|
return {
|
||||||
|
addScope: () => {}
|
||||||
|
}
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
signOutUser()
|
signOutUser()
|
||||||
|
|||||||
Reference in New Issue
Block a user