test: provide features prop to connections page test mock

The page now reads features.manageBankAccounts; the usePage mock was missing
the features shared prop.
This commit is contained in:
Víctor Falcón 2026-06-18 16:03:57 +02:00
parent e5c180d014
commit d9c8a93f7f
1 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,12 @@ vi.mock('@inertiajs/react', () => ({
},
flash: {},
subscriptionsEnabled: false,
features: {
cashflow: true,
calculateBalancesOnImport: false,
transactionAnalysis: false,
manageBankAccounts: true,
},
},
}),
usePoll: () => ({