@@ -29,6 +29,7 @@ import {
29
29
import { OperationType } from '../model/enums' ;
30
30
31
31
import {
32
+ FAKE_APP_CHECK_CONTROLLER_PROVIDER ,
32
33
FAKE_HEARTBEAT_CONTROLLER_PROVIDER ,
33
34
testAuth ,
34
35
testUser
@@ -73,6 +74,7 @@ describe('core/auth/auth_impl', () => {
73
74
const authImpl = new AuthImpl (
74
75
FAKE_APP ,
75
76
FAKE_HEARTBEAT_CONTROLLER_PROVIDER ,
77
+ FAKE_APP_CHECK_CONTROLLER_PROVIDER ,
76
78
{
77
79
apiKey : FAKE_APP . options . apiKey ! ,
78
80
apiHost : DefaultConfig . API_HOST ,
@@ -141,15 +143,20 @@ describe('core/auth/initializeAuth', () => {
141
143
authDomain = FAKE_APP . options . authDomain ,
142
144
blockMiddleware = false
143
145
) : Promise < Auth > {
144
- const auth = new AuthImpl ( FAKE_APP , FAKE_HEARTBEAT_CONTROLLER_PROVIDER , {
145
- apiKey : FAKE_APP . options . apiKey ! ,
146
- apiHost : DefaultConfig . API_HOST ,
147
- apiScheme : DefaultConfig . API_SCHEME ,
148
- tokenApiHost : DefaultConfig . TOKEN_API_HOST ,
149
- authDomain,
150
- clientPlatform : ClientPlatform . BROWSER ,
151
- sdkClientVersion : _getClientVersion ( ClientPlatform . BROWSER )
152
- } ) ;
146
+ const auth = new AuthImpl (
147
+ FAKE_APP ,
148
+ FAKE_HEARTBEAT_CONTROLLER_PROVIDER ,
149
+ FAKE_APP_CHECK_CONTROLLER_PROVIDER ,
150
+ {
151
+ apiKey : FAKE_APP . options . apiKey ! ,
152
+ apiHost : DefaultConfig . API_HOST ,
153
+ apiScheme : DefaultConfig . API_SCHEME ,
154
+ tokenApiHost : DefaultConfig . TOKEN_API_HOST ,
155
+ authDomain,
156
+ clientPlatform : ClientPlatform . BROWSER ,
157
+ sdkClientVersion : _getClientVersion ( ClientPlatform . BROWSER )
158
+ }
159
+ ) ;
153
160
154
161
_initializeAuthInstance ( auth , {
155
162
persistence,
@@ -378,6 +385,7 @@ describe('core/auth/initializeAuth', () => {
378
385
const auth = new AuthImpl (
379
386
FAKE_APP ,
380
387
FAKE_HEARTBEAT_CONTROLLER_PROVIDER ,
388
+ FAKE_APP_CHECK_CONTROLLER_PROVIDER ,
381
389
{
382
390
apiKey : FAKE_APP . options . apiKey ! ,
383
391
apiHost : DefaultConfig . API_HOST ,
0 commit comments