mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-12 18:43:50 +00:00
Do not inject settings state or actions
This commit is contained in:
@@ -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({}),
|
||||
},
|
||||
},
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user