From 6c55dc49e490b6af7594f8dc110dbb19fa8035ef Mon Sep 17 00:00:00 2001 From: Rafael Agostini Date: Fri, 6 Dec 2024 21:21:45 -0500 Subject: [PATCH] Refactor unit test formatting --- .../stats/hooks/test/use-should-gate-stats.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/client/my-sites/stats/hooks/test/use-should-gate-stats.ts b/client/my-sites/stats/hooks/test/use-should-gate-stats.ts index 0fce29eadeacc..77d9a46b0553e 100644 --- a/client/my-sites/stats/hooks/test/use-should-gate-stats.ts +++ b/client/my-sites/stats/hooks/test/use-should-gate-stats.ts @@ -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 );