Skip to content

Commit

Permalink
Fix setup-with-account-with-tag.test tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
zutigrm committed Jan 23, 2025
1 parent 2e9ada5 commit 2abebcf
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,16 @@ describe( 'setting up the Analytics module with an existing account and existing
.match( 'google-site-kit/v1/modules/analytics/data/goals' )
) {
request.respond( { status: 200, body: JSON.stringify( {} ) } );
} else if ( request.url().match( 'user/data/audience-settings' ) ) {
request.respond( {
status: 200,
body: JSON.stringify( {
configuredAudiences: [
fixtures.availableAudiences[ 2 ].name,
],
isAudienceSegmentationWidgetHidden: false,
} ),
} );
} else if ( request.url().match( 'analytics-4/data/properties' ) ) {
request.respond( {
status: 200,
Expand Down

0 comments on commit 2abebcf

Please sign in to comment.