Skip to content

Commit

Permalink
Refactor unit test formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Initsogar committed Dec 7, 2024
1 parent 7752452 commit 6c55dc4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions client/my-sites/stats/hooks/test/use-should-gate-stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +259,17 @@ describe( 'shouldGateStats in Calypso', () => {
},
},
items: {
[ siteId ]: { jetpack: false, options: { is_wpcom_atomic: false } },
[ siteId ]: {
jetpack: false,
options: {
is_wpcom_atomic: false,
},
},
},
},
purchases: { data: [] },
purchases: {
data: [],
},
};
const isGatedStats = shouldGateStats( mockState, siteId, jetpackStatsAdvancedStatType );
expect( isGatedStats ).toBe( false );
Expand Down

0 comments on commit 6c55dc4

Please sign in to comment.