File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
packages/signals/signals-integration-tests/src/helpers Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export class BasePage {
6464 await this . page . goto ( url , { waitUntil : 'domcontentloaded' } )
6565 if ( ! options . skipSignalsPluginInit ) {
6666 void this . invokeAnalyticsLoad ( {
67- sandboxStrategy : envConfig . SANDBOX_STRATEGY ?? 'iframe' ,
67+ sandboxStrategy : envConfig . SANDBOX_STRATEGY ,
6868 flushInterval : 500 ,
6969 ...signalSettings ,
7070 } )
Original file line number Diff line number Diff line change @@ -2,9 +2,8 @@ import { SignalsSettingsConfig } from '@segment/analytics-signals/dist/types/cor
22
33// This is for testing with the global sandbox strategy with an npm script, that executes processSignal in the global scope
44// If we change this to be the default, this can be rejiggered
5- const SANDBOX_STRATEGY = process . env . SANDBOX_STRATEGY as
6- | SignalsSettingsConfig [ 'sandboxStrategy' ]
7- | undefined
5+ const SANDBOX_STRATEGY = ( process . env . SANDBOX_STRATEGY ??
6+ 'iframe' ) as SignalsSettingsConfig [ 'sandboxStrategy' ]
87
98export const envConfig = {
109 SANDBOX_STRATEGY ,
You can’t perform that action at this time.
0 commit comments