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:
parent
e5c180d014
commit
d9c8a93f7f
|
|
@ -25,6 +25,12 @@ vi.mock('@inertiajs/react', () => ({
|
|||
},
|
||||
flash: {},
|
||||
subscriptionsEnabled: false,
|
||||
features: {
|
||||
cashflow: true,
|
||||
calculateBalancesOnImport: false,
|
||||
transactionAnalysis: false,
|
||||
manageBankAccounts: true,
|
||||
},
|
||||
},
|
||||
}),
|
||||
usePoll: () => ({
|
||||
|
|
|
|||
Loading…
Reference in New Issue