Skip to content

Commit 02708d3

Browse files
committed
Remove auth's invalid token test
It's covered elsewhere now that we do exp testing.
1 parent 33e4889 commit 02708d3

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

packages/auth/test/integration/flows/firebaseserverapp.test.ts

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -166,37 +166,6 @@ describe('Integration test: Auth FirebaseServerApp tests', () => {
166166
await deleteApp(serverApp);
167167
});
168168

169-
it('invalid token does not sign in user', async () => {
170-
if (isBrowser()) {
171-
return;
172-
}
173-
const authIdToken = '{ invalid token }';
174-
const firebaseServerAppSettings = { authIdToken };
175-
176-
const serverApp = initializeServerApp(
177-
getAppConfig(),
178-
firebaseServerAppSettings
179-
);
180-
const serverAppAuth = getTestInstanceForServerApp(serverApp);
181-
expect(serverAppAuth.currentUser).to.be.null;
182-
183-
let numberServerLogins = 0;
184-
onAuthStateChanged(serverAppAuth, serverAuthUser => {
185-
if (serverAuthUser) {
186-
numberServerLogins++;
187-
}
188-
});
189-
190-
await new Promise(resolve => {
191-
setTimeout(resolve, signInWaitDuration);
192-
});
193-
194-
expect(numberServerLogins).to.equal(0);
195-
expect(serverAppAuth.currentUser).to.be.null;
196-
197-
await deleteApp(serverApp);
198-
});
199-
200169
it('signs in with email credentials user', async () => {
201170
if (isBrowser()) {
202171
return;

0 commit comments

Comments
 (0)