@@ -140,7 +140,7 @@ describe('Rokt Forwarder', () => {
140140 } ) ;
141141
142142 it ( 'should set optional settings from launcherOptions' , async ( ) => {
143- mParticle . forwarder . launcherOptions = {
143+ window . mParticle . Rokt . launcherOptions = {
144144 integrationName : 'customName' ,
145145 noFunctional : true ,
146146 noTargeting : true ,
@@ -246,7 +246,7 @@ describe('Rokt Forwarder', () => {
246246 ) ;
247247 } ) ;
248248
249- it ( 'should append custom integration name to integrationName if customFlags is passed ' , async ( ) => {
249+ it ( 'should append custom integration name to integrationName if passed in launcherOptions ' , async ( ) => {
250250 const packageVersion = require ( '../../package.json' ) . version ;
251251 const customIntegrationName = 'myCustomIntegration' ;
252252
@@ -257,7 +257,7 @@ describe('Rokt Forwarder', () => {
257257 window . mParticle . Rokt . attachKitCalled = true ;
258258 return Promise . resolve ( ) ;
259259 } ;
260- mParticle . forwarder . launcherOptions = {
260+ window . mParticle . Rokt . launcherOptions = {
261261 integrationName : customIntegrationName ,
262262 } ;
263263
@@ -279,7 +279,6 @@ describe('Rokt Forwarder', () => {
279279 null ,
280280 null ,
281281 null ,
282- { 'Rokt.integrationName' : customIntegrationName }
283282 ) ;
284283
285284 window . Rokt . integrationName . should . equal (
0 commit comments