Skip to content

Commit be0cea2

Browse files
committed
Remove _delegate from fake test apps
1 parent cae82b5 commit be0cea2

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

packages-exp/installations-compat/src/testing/util.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ export function getFakeApp(): FirebaseApp {
3737
},
3838
automaticDataCollectionEnabled: true,
3939
delete: async () => {},
40-
installations: (() => null as unknown) as any,
41-
_delegate: {} as any
40+
installations: (() => null as unknown) as any
4241
};
4342
}
4443

packages-exp/messaging-compat/test/fakes.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ export function getFakeApp(): FirebaseApp {
3232
},
3333
automaticDataCollectionEnabled: true,
3434
delete: async () => {},
35-
messaging: (() => null as unknown) as FirebaseApp['messaging'],
36-
_delegate: {} as any
35+
messaging: (() => null as unknown) as FirebaseApp['messaging']
3736
};
3837
}
3938

packages-exp/performance-compat/test/util.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ export function getFakeApp(): FirebaseApp {
3434
appId: '1:777777777777:web:d93b5ca1475efe57'
3535
},
3636
automaticDataCollectionEnabled: true,
37-
delete: async () => {},
38-
_delegate: {} as any
37+
delete: async () => {}
3938
};
4039
}
4140

packages-exp/remote-config-compat/test/util.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ export function getFakeApp(): FirebaseApp {
3232
},
3333
automaticDataCollectionEnabled: true,
3434
delete: async () => {},
35-
remoteConfig: (() => null as unknown) as FirebaseApp['remoteConfig'],
36-
_delegate: {} as any
35+
remoteConfig: (() => null as unknown) as FirebaseApp['remoteConfig']
3736
};
3837
}
3938

0 commit comments

Comments
 (0)