File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ describe('SiteApps', () => {
295
295
296
296
siteAppsInstance . afterDecideResponse ( response )
297
297
298
- expect ( assignableWindow [ '__$$ph_site_app_1_posthog ' ] ) . toBe ( posthog )
298
+ expect ( assignableWindow [ '__$$ph_site_app_1 ' ] ) . toBe ( posthog )
299
299
expect ( typeof assignableWindow [ '__$$ph_site_app_1_missed_invocations' ] ) . toBe ( 'function' )
300
300
expect ( typeof assignableWindow [ '__$$ph_site_app_1_callback' ] ) . toBe ( 'function' )
301
301
expect ( assignableWindow . __PosthogExtensions__ ?. loadSiteApp ) . toHaveBeenCalledWith (
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ export class SiteApps {
87
87
for ( const { id, url } of response [ 'siteApps' ] ) {
88
88
// TODO: if we have opted out and "type" is "site_destination", ignore it... but do include "site_app" types
89
89
this . appsLoading . add ( id )
90
- assignableWindow [ `__$$ph_site_app_${ id } _posthog ` ] = this . instance
90
+ assignableWindow [ `__$$ph_site_app_${ id } ` ] = this . instance
91
91
assignableWindow [ `__$$ph_site_app_${ id } _missed_invocations` ] = ( ) => this . missedInvocations
92
92
assignableWindow [ `__$$ph_site_app_${ id } _callback` ] = ( ) => {
93
93
this . appsLoading . delete ( id )
You can’t perform that action at this time.
0 commit comments