Do not inject settings state or actions

This commit is contained in:
Alejandro Celaya
2025-11-14 23:29:59 +01:00
parent 9e8498b16a
commit 6094994cfa
9 changed files with 19 additions and 29 deletions

View File

@@ -19,7 +19,7 @@ describe('<App />', () => {
);
const setUp = async (activeRoute = '/') => act(() => renderWithStore(
<MemoryRouter initialEntries={[{ pathname: activeRoute }]}>
<App settings={fromPartial({})} appUpdated={false} resetAppUpdate={() => {}} />
<App appUpdated={false} resetAppUpdate={() => {}} />
</MemoryRouter>,
{
initialState: {
@@ -27,6 +27,7 @@ describe('<App />', () => {
abc123: fromPartial<ServerWithId>({ id: 'abc123', name: 'abc123 server' }),
def456: fromPartial<ServerWithId>({ id: 'def456', name: 'def456 server' }),
},
settings: fromPartial({}),
},
},
));