fix(deps): update redux ecosystem (major) #13602
Annotations
21 errors
Build
Process completed with exit code 1.
|
Lint:
src/app/base/components/AppSideNavigation/AppSideNavigation.tsx#L153
Type 'AsyncThunk<any, any, any> | ActionCreatorWithPayload<any, `controller/${string}`> | ActionCreatorWithPreparedPayload<any[], any, `controller/${string}`, never, never> | ActionCreatorWithPreparedPayload<...> | ActionCreatorWithPreparedPayload<...> | ActionCreatorWithPreparedPayload<...>' is not assignable to type '() => AnyAction'.
|
Lint:
src/app/base/components/AppSideNavigation/AppSideNavigation.tsx#L155
Type 'AsyncThunk<any, any, any> | ActionCreatorWithPayload<any, `pod/${string}`> | ActionCreatorWithPreparedPayload<any[], any, `pod/${string}`, never, never> | ActionCreatorWithPreparedPayload<...> | ActionCreatorWithPreparedPayload<...> | ActionCreatorWithPreparedPayload<...>' is not assignable to type '() => AnyAction'.
|
Lint:
src/app/base/components/ControllerLink/ControllerLink.tsx#L26
Type 'AsyncThunk<any, any, any> | ActionCreatorWithPayload<any, `controller/${string}`> | ActionCreatorWithPreparedPayload<any[], any, `controller/${string}`, never, never> | ActionCreatorWithPreparedPayload<...> | ActionCreatorWithPreparedPayload<...> | ActionCreatorWithPreparedPayload<...>' is not assignable to type '() => AnyAction'.
|
Lint:
src/app/base/components/DeviceLink/DeviceLink.tsx#L26
Type 'AsyncThunk<any, any, any> | ActionCreatorWithPayload<any, `device/${string}`> | ActionCreatorWithPreparedPayload<any[], any, `device/${string}`, never, never> | ActionCreatorWithPreparedPayload<...> | ActionCreatorWithPreparedPayload<...> | ActionCreatorWithPreparedPayload<...>' is not assignable to type '() => AnyAction'.
|
Lint:
src/app/base/components/DhcpForm/DhcpForm.tsx#L88
Type 'AsyncThunk<any, any, any> | ActionCreatorWithPayload<any, `subnet/${string}`> | ActionCreatorWithPreparedPayload<any[], any, `subnet/${string}`, never, never> | ActionCreatorWithPreparedPayload<...> | ActionCreatorWithPreparedPayload<...> | ActionCreatorWithPreparedPayload<...>' is not assignable to type '() => AnyAction'.
|
Lint:
src/app/base/components/DhcpForm/DhcpForm.tsx#L89
Type 'AsyncThunk<any, any, any> | ActionCreatorWithPayload<any, `controller/${string}`> | ActionCreatorWithPreparedPayload<any[], any, `controller/${string}`, never, never> | ActionCreatorWithPreparedPayload<...> | ActionCreatorWithPreparedPayload<...> | ActionCreatorWithPreparedPayload<...>' is not assignable to type '() => AnyAction'.
|
Lint:
src/app/base/components/DhcpForm/DhcpForm.tsx#L90
Type 'AsyncThunk<any, any, any> | ActionCreatorWithPayload<any, `device/${string}`> | ActionCreatorWithPreparedPayload<any[], any, `device/${string}`, never, never> | ActionCreatorWithPreparedPayload<...> | ActionCreatorWithPreparedPayload<...> | ActionCreatorWithPreparedPayload<...>' is not assignable to type '() => AnyAction'.
|
Lint:
src/app/base/components/DhcpFormFields/MachineSelect/MachineSelectBox/MachineSelectBox.test.tsx#L40
Expected 1 arguments, but got 2.
|
Lint:
src/app/base/components/DhcpFormFields/MachineSelect/MachineSelectBox/MachineSelectBox.test.tsx#L50
Property 'type' does not exist on type '{ payload: any; type: `machine/${string}`; } | AsyncThunkAction<any, any, any>'.
|
Lint:
src/app/base/components/DhcpFormFields/MachineSelect/MachineSelectBox/MachineSelectBox.test.tsx#L71
Expected 1 arguments, but got 2.
|
src/app/App.test.tsx:
src/redux-store.ts#L20
TypeError: getDefaultMiddleware is not a function or its return value is not iterable
❯ src/redux-store.ts:20:6
❯ src/app/base/components/AppSidePanel/AppSidePanel.tsx:7:31
|
src/app/Routes.test.tsx:
src/redux-store.ts#L20
TypeError: getDefaultMiddleware is not a function or its return value is not iterable
❯ src/redux-store.ts:20:6
❯ src/app/base/components/AppSidePanel/AppSidePanel.tsx:7:31
|
src/app/intro/views/Intro.test.tsx:
src/redux-store.ts#L20
TypeError: getDefaultMiddleware is not a function or its return value is not iterable
❯ src/redux-store.ts:20:6
❯ src/app/base/components/AppSidePanel/AppSidePanel.tsx:7:31
|
src/app/kvm/views/KVM.test.tsx:
src/redux-store.ts#L20
TypeError: getDefaultMiddleware is not a function or its return value is not iterable
❯ src/redux-store.ts:20:6
❯ src/app/base/components/AppSidePanel/AppSidePanel.tsx:7:31
|
src/app/machines/views/Machines.test.tsx:
src/redux-store.ts#L20
Error: [vitest] No "getDefaultMiddleware" export is defined on the "@reduxjs/toolkit" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock("@reduxjs/toolkit", async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ src/redux-store.ts:20:6
❯ src/app/base/components/AppSidePanel/AppSidePanel.tsx:7:31
|
src/app/networkDiscovery/views/NetworkDiscovery.test.tsx:
src/redux-store.ts#L20
TypeError: getDefaultMiddleware is not a function or its return value is not iterable
❯ src/redux-store.ts:20:6
❯ src/app/base/components/AppSidePanel/AppSidePanel.tsx:7:31
|
src/app/pools/views/Pools.test.tsx:
src/redux-store.ts#L20
TypeError: getDefaultMiddleware is not a function or its return value is not iterable
❯ src/redux-store.ts:20:6
❯ src/app/base/components/AppSidePanel/AppSidePanel.tsx:7:31
|
src/app/settings/views/Settings.test.tsx:
src/redux-store.ts#L20
TypeError: getDefaultMiddleware is not a function or its return value is not iterable
❯ src/redux-store.ts:20:6
❯ src/app/base/components/AppSidePanel/AppSidePanel.tsx:7:31
|
src/app/tags/views/Tags.test.tsx:
src/redux-store.ts#L20
TypeError: getDefaultMiddleware is not a function or its return value is not iterable
❯ src/redux-store.ts:20:6
❯ src/app/base/components/AppSidePanel/AppSidePanel.tsx:7:31
|
src/app/base/components/AppSidePanel/AppSidePanel.test.tsx:
src/redux-store.ts#L20
TypeError: getDefaultMiddleware is not a function or its return value is not iterable
❯ src/redux-store.ts:20:6
❯ src/app/base/components/AppSidePanel/AppSidePanel.tsx:7:31
|