Do not inject appupdated state or actions

This commit is contained in:
Alejandro Celaya
2025-11-15 10:28:33 +01:00
parent f301513f5b
commit 373f0dbbbb
7 changed files with 20 additions and 42 deletions

View File

@@ -22,7 +22,7 @@ describe('<App />', () => {
<ContainerProvider
value={fromPartial({ HttpClient: fromPartial<HttpClient>({}), buildShlinkApiClient: vi.fn() })}
>
<App appUpdated={false} resetAppUpdate={() => {}} />
<App />
</ContainerProvider>
</MemoryRouter>,
{
@@ -32,6 +32,7 @@ describe('<App />', () => {
def456: fromPartial<ServerWithId>({ id: 'def456', name: 'def456 server' }),
},
settings: fromPartial({}),
appUpdated: false,
},
},
));