Skip to content

chore(deps): update dependency vitest to v3 #536

chore(deps): update dependency vitest to v3

chore(deps): update dependency vitest to v3 #536

Triggered via pull request January 16, 2025 16:21
Status Failure
Total duration 31s
Artifacts

test.yml

on: pull_request
Unit test
22s
Unit test
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
src/Slice.spec.ts > Slice > unregister > should console error when calling `setState` after unregistered: packages/yarw/src/Slice.spec.ts#L327
Error: Snapshot `Slice > unregister > should console error when calling `setState` after unregistered 1` mismatched - Expected + Received @@ -1,12 +1,26 @@ { "calls": [ [ "Calling unregistered slice "test"'s action dispatcher", ], - ], - "results": [ + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + ], + "results": [ + { + "type": "return", + "value": undefined, + }, + { + "type": "return", + "value": undefined, + }, { "type": "return", "value": undefined, }, ], ❯ src/Slice.spec.ts:327:51
src/Slice.spec.ts > Slice > unregister > should console error when calling `subscribe` after unregistered: packages/yarw/src/Slice.spec.ts#L333
Error: Snapshot `Slice > unregister > should console error when calling `subscribe` after unregistered 1` mismatched - Expected + Received @@ -1,12 +1,33 @@ { "calls": [ [ "Calling unregistered slice "test"'s action dispatcher", ], - ], - "results": [ + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + ], + "results": [ + { + "type": "return", + "value": undefined, + }, + { + "type": "return", + "value": undefined, + }, + { + "type": "return", + "value": undefined, + }, { "type": "return", "value": undefined, }, ], ❯ src/Slice.spec.ts:333:51
src/Slice.spec.ts > Slice > unregister > should console error when calling `listen` after unregistered: packages/yarw/src/Slice.spec.ts#L340
Error: Snapshot `Slice > unregister > should console error when calling `listen` after unregistered 1` mismatched - Expected + Received @@ -4,12 +4,40 @@ "Calling unregistered slice "test"'s action dispatcher", ], [ "Calling unregistered slice "test"'s action dispatcher", ], - ], - "results": [ + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + ], + "results": [ + { + "type": "return", + "value": undefined, + }, + { + "type": "return", + "value": undefined, + }, + { + "type": "return", + "value": undefined, + }, + { + "type": "return", + "value": undefined, + }, { "type": "return", "value": undefined, }, { ❯ src/Slice.spec.ts:340:51
src/Slice.spec.ts > Slice > unregister > should console error when calling action dispatcher after unregistered: packages/yarw/src/Slice.spec.ts#L346
Error: Snapshot `Slice > unregister > should console error when calling action dispatcher after unregistered 1` mismatched - Expected + Received @@ -1,12 +1,54 @@ { "calls": [ [ "Calling unregistered slice "test"'s action dispatcher", ], - ], - "results": [ + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + ], + "results": [ + { + "type": "return", + "value": undefined, + }, + { + "type": "return", + "value": undefined, + }, + { + "type": "return", + "value": undefined, + }, + { + "type": "return", + "value": undefined, + }, + { + "type": "return", + "value": undefined, + }, + { + "type": "return", + "value": undefined, + }, { "type": "return", "value": undefined, }, ], ❯ src/Slice.spec.ts:346:51
src/Slice.spec.ts > Slice > unregister > should console error when calling `reducer` after unregistered: packages/yarw/src/Slice.spec.ts#L356
Error: Snapshot `Slice > unregister > should console error when calling `reducer` after unregistered 1` mismatched - Expected + Received @@ -10,12 +10,61 @@ "Calling unregistered slice "test"'s action dispatcher", ], [ "Calling unregistered slice "test"'s action dispatcher", ], - ], - "results": [ + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + [ + "Calling unregistered slice "test"'s action dispatcher", + ], + ], + "results": [ + { + "type": "return", + "value": undefined, + }, + { + "type": "return", + "value": undefined, + }, + { + "type": "return", + "value": undefined, + }, + { + "type": "return", + "value": undefined, + }, + { + "type": "return", + "value": undefined, + }, + { + "type": "return", + "value": undefined, + }, + { + "type": "return", + "value": undefined, + }, { "type": "return", "value": undefined, }, { ❯ src/Slice.spec.ts:356:51
Unit test
Process completed with exit code 1.
Unit test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636