Skip to content

Commit

Permalink
added a few unit test cases for registerAuth
Browse files Browse the repository at this point in the history
  • Loading branch information
bhparijat committed May 5, 2023
1 parent e0c00a9 commit 03e6314
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .changeset/small-chairs-explain.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@firebase/auth': minor
'@firebase/auth': patch
---

Allow port numbers in authDomain
4 changes: 2 additions & 2 deletions packages/auth/src/core/auth/initialize.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ describe('core/auth/initialize', () => {
fakeApp = initializeApp({
apiKey: 'fake-key',
appId: 'fake-app-id',
authDomain: 'fake-auth-domain'
authDomain: 'fake-auth-domain:9999'
});
});

Expand All @@ -165,7 +165,7 @@ describe('core/auth/initialize', () => {
apiHost: 'identitytoolkit.googleapis.com',
apiKey: 'fake-key',
apiScheme: 'https',
authDomain: 'fake-auth-domain',
authDomain: 'fake-auth-domain:9999',
clientPlatform: expectedClientPlatform,
sdkClientVersion: expectedSdkClientVersion,
tokenApiHost: 'securetoken.googleapis.com'
Expand Down

0 comments on commit 03e6314

Please sign in to comment.