I was quietly creating a mock for firebase.auth() when I see this piece of code:
firebase.auth()
firebase.auth().setPersistence(firebase.auth.Auth.Persistence.LO