Skip to content

Commit

Permalink
Rename variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
techanvil committed Jul 10, 2023
1 parent 0442858 commit 4bc8ad5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/js/gathering-data-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function provideSearchConsoleGatheringDataState( registry, isGatheringData ) {
} );
}

const moduleProviderMap = {
const moduleDataProviderMap = {
'analytics-4': provideAnalytics4GatheringDataState,
'search-console': provideSearchConsoleGatheringDataState,
};
Expand All @@ -136,7 +136,7 @@ export function provideGatheringDataState( registry, moduleStates ) {
'Setting an undefined gathering data state is currently unsupported.'
);

const provideGatheringData = moduleProviderMap[ moduleSlug ];
const provideGatheringData = moduleDataProviderMap[ moduleSlug ];

if ( ! provideGatheringData ) {
throw new Error( `Unhandled module: ${ moduleSlug }` );
Expand Down

0 comments on commit 4bc8ad5

Please sign in to comment.