Skip to content

build(deps): bump @reduxjs/toolkit from 1.9.7 to 2.4.0 #5658

build(deps): bump @reduxjs/toolkit from 1.9.7 to 2.4.0

build(deps): bump @reduxjs/toolkit from 1.9.7 to 2.4.0 #5658

Triggered via pull request November 29, 2024 06:33
Status Failure
Total duration 1m 24s
Artifacts

test-pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
test: src/index.tsx#L42
Type '(getDefaultMiddleware: GetDefaultMiddleware<import("/home/runner/work/pybricks-code/pybricks-code/node_modules/redux/index").CombinedState<{ app: import("/home/runner/work/pybricks-code/pybricks-code/node_modules/redux/index").CombinedState<{ isServiceWorkerRegistered: boolean; checkingForUpdate: boolean; updateAvai...' is not assignable to type '(getDefaultMiddleware: GetDefaultMiddleware<import("/home/runner/work/pybricks-code/pybricks-code/node_modules/redux/index").CombinedState<{ app: import("/home/runner/work/pybricks-code/pybricks-code/node_modules/redux/index").CombinedState<{ isServiceWorkerRegistered: boolean; checkingForUpdate: boolean; updateAvai...'. Two different types with this name exist, but they are unrelated.
test: test/index.tsx#L169
Type 'Reducer<CombinedState<{ app: CombinedState<{ isServiceWorkerRegistered: boolean; checkingForUpdate: boolean; updateAvailable: boolean; hasUnresolvedInstallPrompt: boolean; promptingInstall: boolean; readyForOfflineUse: boolean; }>; ... 8 more ...; sponsor: { ...; }; }>, AnyAction | UnknownAction>' is not assignable to type 'Reducer<CombinedState<{ app: CombinedState<{ isServiceWorkerRegistered: boolean; checkingForUpdate: boolean; updateAvailable: boolean; hasUnresolvedInstallPrompt: boolean; promptingInstall: boolean; readyForOfflineUse: boolean; }>; ... 8 more ...; sponsor: { ...; }; }>, AnyAction | UnknownAction, { ...; }> | { ...; }'.
test: test/index.tsx#L186
Type 'SpyInstance<AnyAction | UnknownAction, [action: AnyAction | UnknownAction, ...extraArgs: any[]], any>' is not assignable to type 'SpyInstance<unknown, [action: AnyAction | ThunkAction<unknown, CombinedState<{ app: CombinedState<{ isServiceWorkerRegistered: boolean; checkingForUpdate: boolean; updateAvailable: boolean; hasUnresolvedInstallPrompt: boolean; promptingInstall: boolean; readyForOfflineUse: boolean; }>; ... 8 more ...; sponsor: { ......'.
test
Process completed with exit code 2.