feat: add state machines #103
Annotations
10 errors
Test:
node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-ef30c65f.development.esm.js#L310
Error: Unable to send event to actor '#_parent' from machine 'document-mutator'.
❯ Function.resolveSendTo [as resolve] node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-ef30c65f.development.esm.js:310:13
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2345:56
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2361:30
❯ resolveActionsAndContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2368:21
❯ microstep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2101:15
❯ Module.macrostep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2427:20
❯ StateMachine.transition node_modules/.pnpm/[email protected]/node_modules/xstate/dist/xstate.development.esm.js:464:34
❯ Actor._process node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:863:30
❯ Mailbox.flush node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:44:12
❯ Mailbox.enqueue node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:36:12
This error originated in "src/machine/__tests__/documentMutatorMachine.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "src/machine/__tests__/documentMutatorMachine.test.ts". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Test:
node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-ef30c65f.development.esm.js#L310
Error: Unable to send event to actor '#_parent' from machine 'document-mutator'.
❯ Function.resolveSendTo [as resolve] node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-ef30c65f.development.esm.js:310:13
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2345:56
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2361:30
❯ resolveActionsAndContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2368:21
❯ microstep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2101:15
❯ Module.macrostep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2427:20
❯ StateMachine.transition node_modules/.pnpm/[email protected]/node_modules/xstate/dist/xstate.development.esm.js:464:34
❯ Actor._process node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:863:30
❯ Mailbox.flush node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:44:12
❯ Mailbox.enqueue node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:36:12
|
Test:
node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-ef30c65f.development.esm.js#L310
Error: Unable to send event to actor '#_parent' from machine 'document-mutator'.
❯ Function.resolveSendTo [as resolve] node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-ef30c65f.development.esm.js:310:13
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2345:56
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2361:30
❯ resolveActionsAndContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2368:21
❯ microstep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2101:15
❯ Module.macrostep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2427:20
❯ StateMachine.transition node_modules/.pnpm/[email protected]/node_modules/xstate/dist/xstate.development.esm.js:464:34
❯ Actor._process node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:863:30
❯ Mailbox.flush node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:44:12
❯ Mailbox.enqueue node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:36:12
|
Test:
node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-ef30c65f.development.esm.js#L310
Error: Unable to send event to actor '#_parent' from machine 'document-mutator'.
❯ Function.resolveSendTo [as resolve] node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-ef30c65f.development.esm.js:310:13
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2345:56
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2361:30
❯ resolveActionsAndContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2368:21
❯ microstep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2101:15
❯ Module.macrostep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2427:20
❯ StateMachine.transition node_modules/.pnpm/[email protected]/node_modules/xstate/dist/xstate.development.esm.js:464:34
❯ Actor._process node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:863:30
❯ Mailbox.flush node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:44:12
❯ Mailbox.enqueue node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:36:12
|
Test:
node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-ef30c65f.development.esm.js#L310
Error: Unable to send event to actor '#_parent' from machine 'document-mutator'.
❯ Function.resolveSendTo [as resolve] node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-ef30c65f.development.esm.js:310:13
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2345:56
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2361:30
❯ resolveActionsAndContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2368:21
❯ microstep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2101:15
❯ Module.macrostep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2427:20
❯ StateMachine.transition node_modules/.pnpm/[email protected]/node_modules/xstate/dist/xstate.development.esm.js:464:34
❯ Actor._process node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:863:30
❯ Mailbox.flush node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:44:12
❯ Mailbox.enqueue node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:36:12
|
Test:
node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-ef30c65f.development.esm.js#L310
Error: Unable to send event to actor '#_parent' from machine 'document-mutator'.
❯ Function.resolveSendTo [as resolve] node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-ef30c65f.development.esm.js:310:13
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2345:56
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2361:30
❯ resolveActionsAndContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2368:21
❯ microstep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2101:15
❯ Module.macrostep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2427:20
❯ StateMachine.transition node_modules/.pnpm/[email protected]/node_modules/xstate/dist/xstate.development.esm.js:464:34
❯ Actor._process node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:863:30
❯ Mailbox.flush node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:44:12
❯ Mailbox.enqueue node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:36:12
|
Test:
node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-ef30c65f.development.esm.js#L310
Error: Unable to send event to actor '#_parent' from machine 'document-mutator'.
❯ Function.resolveSendTo [as resolve] node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-ef30c65f.development.esm.js:310:13
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2345:56
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2361:30
❯ resolveActionsAndContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2368:21
❯ microstep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2101:15
❯ Module.macrostep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2427:20
❯ StateMachine.transition node_modules/.pnpm/[email protected]/node_modules/xstate/dist/xstate.development.esm.js:464:34
❯ Actor._process node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:863:30
❯ Mailbox.flush node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:44:12
❯ Mailbox.enqueue node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:36:12
|
Test:
node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-ef30c65f.development.esm.js#L310
Error: Unable to send event to actor '#_parent' from machine 'document-mutator'.
❯ Function.resolveSendTo [as resolve] node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-ef30c65f.development.esm.js:310:13
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2345:56
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2361:30
❯ resolveActionsAndContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2368:21
❯ microstep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2101:15
❯ Module.macrostep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2427:20
❯ StateMachine.transition node_modules/.pnpm/[email protected]/node_modules/xstate/dist/xstate.development.esm.js:464:34
❯ Actor._process node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:863:30
❯ Mailbox.flush node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:44:12
❯ Mailbox.enqueue node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:36:12
|
Test:
src/machine/__tests__/documentMutatorMachine.test.ts#L354
Error: Snapshot `local mutations > error when creating a document locally using 'create', when it turns out later that it exists on the server 1` mismatched
Expected: "[Error: Document already exist]"
Received: "[Error: Unable to send event to actor '#_parent' from machine 'document-mutator'.]"
❯ src/machine/__tests__/documentMutatorMachine.test.ts:354:19
|
Test:
node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-ef30c65f.development.esm.js#L310
Error: Unable to send event to actor '#_parent' from machine 'document-mutator'.
❯ Function.resolveSendTo [as resolve] node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-ef30c65f.development.esm.js:310:13
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2345:56
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2361:30
❯ resolveActionsAndContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2368:21
❯ microstep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2101:15
❯ Module.macrostep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:2427:20
❯ StateMachine.transition node_modules/.pnpm/[email protected]/node_modules/xstate/dist/xstate.development.esm.js:464:34
❯ Actor._process node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:863:30
❯ Mailbox.flush node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:44:12
❯ Mailbox.enqueue node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-1db27a82.development.esm.js:36:12
|
Loading