Skip to content

Commit 03e6314

Browse files
committed
added a few unit test cases for registerAuth
1 parent e0c00a9 commit 03e6314

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.changeset/small-chairs-explain.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
'@firebase/auth': minor
2+
'@firebase/auth': patch
33
---
44

55
Allow port numbers in authDomain

packages/auth/src/core/auth/initialize.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ describe('core/auth/initialize', () => {
140140
fakeApp = initializeApp({
141141
apiKey: 'fake-key',
142142
appId: 'fake-app-id',
143-
authDomain: 'fake-auth-domain'
143+
authDomain: 'fake-auth-domain:9999'
144144
});
145145
});
146146

@@ -165,7 +165,7 @@ describe('core/auth/initialize', () => {
165165
apiHost: 'identitytoolkit.googleapis.com',
166166
apiKey: 'fake-key',
167167
apiScheme: 'https',
168-
authDomain: 'fake-auth-domain',
168+
authDomain: 'fake-auth-domain:9999',
169169
clientPlatform: expectedClientPlatform,
170170
sdkClientVersion: expectedSdkClientVersion,
171171
tokenApiHost: 'securetoken.googleapis.com'

0 commit comments

Comments
 (0)