feat: add state machines #78
Annotations
10 errors
Test:
node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-38475d87.development.esm.js#L308
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-38475d87.development.esm.js:308:13
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2322:56
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2337:30
❯ resolveActionsAndContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2344:21
❯ microstep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2063:15
❯ Module.macrostep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2403: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-5ea71f04.development.esm.js:835:30
❯ Mailbox.flush node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:44:12
❯ Mailbox.enqueue node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.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-38475d87.development.esm.js#L308
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-38475d87.development.esm.js:308:13
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2322:56
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2337:30
❯ resolveActionsAndContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2344:21
❯ microstep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2063:15
❯ Module.macrostep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2403: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-5ea71f04.development.esm.js:835:30
❯ Mailbox.flush node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:44:12
❯ Mailbox.enqueue node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:36:12
|
Test:
node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-38475d87.development.esm.js#L308
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-38475d87.development.esm.js:308:13
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2322:56
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2337:30
❯ resolveActionsAndContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2344:21
❯ microstep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2063:15
❯ Module.macrostep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2403: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-5ea71f04.development.esm.js:835:30
❯ Mailbox.flush node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:44:12
❯ Mailbox.enqueue node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:36:12
|
Test:
node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-38475d87.development.esm.js#L308
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-38475d87.development.esm.js:308:13
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2322:56
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2337:30
❯ resolveActionsAndContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2344:21
❯ microstep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2063:15
❯ Module.macrostep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2403: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-5ea71f04.development.esm.js:835:30
❯ Mailbox.flush node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:44:12
❯ Mailbox.enqueue node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:36:12
|
Test:
node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-38475d87.development.esm.js#L308
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-38475d87.development.esm.js:308:13
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2322:56
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2337:30
❯ resolveActionsAndContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2344:21
❯ microstep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2063:15
❯ Module.macrostep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2403: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-5ea71f04.development.esm.js:835:30
❯ Mailbox.flush node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:44:12
❯ Mailbox.enqueue node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:36:12
|
Test:
node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-38475d87.development.esm.js#L308
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-38475d87.development.esm.js:308:13
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2322:56
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2337:30
❯ resolveActionsAndContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2344:21
❯ microstep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2063:15
❯ Module.macrostep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2403: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-5ea71f04.development.esm.js:835:30
❯ Mailbox.flush node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:44:12
❯ Mailbox.enqueue node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:36:12
|
Test:
node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-38475d87.development.esm.js#L308
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-38475d87.development.esm.js:308:13
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2322:56
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2337:30
❯ resolveActionsAndContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2344:21
❯ microstep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2063:15
❯ Module.macrostep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2403: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-5ea71f04.development.esm.js:835:30
❯ Mailbox.flush node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:44:12
❯ Mailbox.enqueue node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:36:12
|
Test:
node_modules/.pnpm/[email protected]/node_modules/xstate/dist/log-38475d87.development.esm.js#L308
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-38475d87.development.esm.js:308:13
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2322:56
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2337:30
❯ resolveActionsAndContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2344:21
❯ microstep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2063:15
❯ Module.macrostep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2403: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-5ea71f04.development.esm.js:835:30
❯ Mailbox.flush node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:44:12
❯ Mailbox.enqueue node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.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-38475d87.development.esm.js#L308
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-38475d87.development.esm.js:308:13
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2322:56
❯ resolveAndExecuteActionsWithContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2337:30
❯ resolveActionsAndContext node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2344:21
❯ microstep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2063:15
❯ Module.macrostep node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:2403: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-5ea71f04.development.esm.js:835:30
❯ Mailbox.flush node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:44:12
❯ Mailbox.enqueue node_modules/.pnpm/[email protected]/node_modules/xstate/dist/raise-5ea71f04.development.esm.js:36:12
|
Loading