Skip to content

Migrate to React 19 #6223

Migrate to React 19

Migrate to React 19 #6223

Triggered via pull request May 16, 2024 11:51
Status Failure
Total duration 6m 34s
Artifacts 1

tests.yml

on: pull_request
Check for changes
3s
Check for changes
Matrix: build
Matrix: Check package config with are-the-types-wrong
Matrix: test-dist
Matrix: test-published-artifact
Matrix: test-types
Fit to window
Zoom out
Zoom in

Annotations

10 errors
src/tests/createReducer.test.ts > createReducer > builder callback for actionMap > will throw an error when returning undefined from a non-draftable state: packages/toolkit/src/tests/createReducer.test.ts#L303
Error: Snapshot `createReducer > builder callback for actionMap > will throw an error when returning undefined from a non-draftable state 1` mismatched - Expected + Received - [Error: A case reducer on a non-draftable value must not return undefined] + [Error: Minified Redux Toolkit error #9; visit https://redux-toolkit.js.org/Errors?code=9 for the full message or use the non-minified dev environment for full errors. ] ❯ src/tests/createReducer.test.ts:303:46
src/tests/createReducer.test.ts > createReducer > builder callback for actionMap > will throw if the same type is used twice: packages/toolkit/src/tests/createReducer.test.ts#L351
Error: Snapshot `createReducer > builder callback for actionMap > will throw if the same type is used twice 1` mismatched - Expected + Received - [Error: `builder.addCase` cannot be called with two reducers for the same action type 'increment'] + [Error: Minified Redux Toolkit error #29; visit https://redux-toolkit.js.org/Errors?code=29 for the full message or use the non-minified dev environment for full errors. ] ❯ src/tests/createReducer.test.ts:351:9
src/tests/createReducer.test.ts > createReducer > builder callback for actionMap > will throw if an empty type is used: packages/toolkit/src/tests/createReducer.test.ts#L379
Error: Snapshot `createReducer > builder callback for actionMap > will throw if an empty type is used 1` mismatched - Expected + Received - [Error: `builder.addCase` cannot be called with an empty action type] + [Error: Minified Redux Toolkit error #28; visit https://redux-toolkit.js.org/Errors?code=28 for the full message or use the non-minified dev environment for full errors. ] ❯ src/tests/createReducer.test.ts:379:9
Run local tests against build artifact (React ^18)
Process completed with exit code 1.
src/tests/createReducer.test.ts > createReducer > builder callback for actionMap > will throw an error when returning undefined from a non-draftable state: packages/toolkit/src/tests/createReducer.test.ts#L303
Error: Snapshot `createReducer > builder callback for actionMap > will throw an error when returning undefined from a non-draftable state 1` mismatched - Expected + Received - [Error: A case reducer on a non-draftable value must not return undefined] + [Error: Minified Redux Toolkit error #9; visit https://redux-toolkit.js.org/Errors?code=9 for the full message or use the non-minified dev environment for full errors. ] ❯ src/tests/createReducer.test.ts:303:46
src/tests/createReducer.test.ts > createReducer > builder callback for actionMap > will throw if the same type is used twice: packages/toolkit/src/tests/createReducer.test.ts#L351
Error: Snapshot `createReducer > builder callback for actionMap > will throw if the same type is used twice 1` mismatched - Expected + Received - [Error: `builder.addCase` cannot be called with two reducers for the same action type 'increment'] + [Error: Minified Redux Toolkit error #29; visit https://redux-toolkit.js.org/Errors?code=29 for the full message or use the non-minified dev environment for full errors. ] ❯ src/tests/createReducer.test.ts:351:9
src/tests/createReducer.test.ts > createReducer > builder callback for actionMap > will throw if an empty type is used: packages/toolkit/src/tests/createReducer.test.ts#L379
Error: Snapshot `createReducer > builder callback for actionMap > will throw if an empty type is used 1` mismatched - Expected + Received - [Error: `builder.addCase` cannot be called with an empty action type] + [Error: Minified Redux Toolkit error #28; visit https://redux-toolkit.js.org/Errors?code=28 for the full message or use the non-minified dev environment for full errors. ] ❯ src/tests/createReducer.test.ts:379:9
Run local tests against build artifact (React rc)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
package
1.14 MB