Skip to content

Commit 19660d9

Browse files
authored
Disable one flaky tests in emulator. (#1205)
1 parent 97d3823 commit 19660d9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/integration/auth.spec.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,12 @@ describe('admin.auth', () => {
441441
.then((listUsersResult) => {
442442
// Confirm expected number of users.
443443
expect(listUsersResult.users.length).to.equal(2);
444-
// Confirm next page token present.
445-
expect(typeof listUsersResult.pageToken).to.equal('string');
444+
// TODO(yuchenshi): Investigate on why this is flaky in emulator.
445+
if (!authEmulatorHost) {
446+
// Confirm next page token present.
447+
expect(typeof listUsersResult.pageToken).to.equal('string');
448+
}
449+
446450
// Confirm each user's uid and the hashed passwords.
447451
expect(listUsersResult.users[0].uid).to.equal(uids[1]);
448452

0 commit comments

Comments
 (0)