feat: add state machines #79
Annotations
20 errors
src/machine/__tests__/documentMutatorMachine.test.ts > observing documents > observing a document that does not exist on the backend:
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
|
src/machine/__tests__/documentMutatorMachine.test.ts > observing documents > observing a document that exist on the backend:
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
|
src/machine/__tests__/documentMutatorMachine.test.ts > observing documents > observing a document that doesn't exist initially, but later is created:
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
|
src/machine/__tests__/documentMutatorMachine.test.ts > observing documents > observing a document that doesn't exist initially, but later is created, much much later:
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
|
src/machine/__tests__/documentMutatorMachine.test.ts > observing documents > observing a document that doesn't exist initially, but is created before the document is fetched:
src/machine/__tests__/documentMutatorMachine.test.ts#L153
TypeError: Promise.withResolvers is not a function
❯ src/machine/__tests__/documentMutatorMachine.test.ts:153:40
|
src/machine/__tests__/documentMutatorMachine.test.ts > local mutations > mutating a document that does not exist on the backend:
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
|
src/machine/__tests__/documentMutatorMachine.test.ts > local mutations > observing a document that doesn't exist initially, but later is created locally:
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
|
src/machine/__tests__/documentMutatorMachine.test.ts > local mutations > error when creating a document locally using 'create', when it turns out later that it exists on the server :
src/machine/__tests__/documentMutatorMachine.test.ts#L331
TypeError: Promise.withResolvers is not a function
❯ src/machine/__tests__/documentMutatorMachine.test.ts:331:40
|
src/machine/__tests__/documentMutatorMachine.test.ts > remote mutations > it applies mendoza patches correctly:
src/machine/__tests__/documentMutatorMachine.test.ts#L361
TypeError: Promise.withResolvers is not a function
❯ src/machine/__tests__/documentMutatorMachine.test.ts:361:40
|
src/machine/__tests__/documentMutatorMachine.test.ts > remote mutations > it handles skipping mendoza patches that are already applied:
src/machine/__tests__/documentMutatorMachine.test.ts#L385
TypeError: Promise.withResolvers is not a function
❯ src/machine/__tests__/documentMutatorMachine.test.ts:385:40
|
Unhandled error:
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.
|
src/machine/__tests__/documentMutatorMachine.test.ts > observing documents > observing a document that does not exist on the backend:
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
|
src/machine/__tests__/documentMutatorMachine.test.ts > observing documents > observing a document that exist on the backend:
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
|
src/machine/__tests__/documentMutatorMachine.test.ts > observing documents > observing a document that doesn't exist initially, but later is created:
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
|
src/machine/__tests__/documentMutatorMachine.test.ts > observing documents > observing a document that doesn't exist initially, but later is created, much much later:
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
|
src/machine/__tests__/documentMutatorMachine.test.ts > observing documents > observing a document that doesn't exist initially, but is created before the document is fetched:
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
|
src/machine/__tests__/documentMutatorMachine.test.ts > local mutations > mutating a document that does not exist on the backend:
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
|
src/machine/__tests__/documentMutatorMachine.test.ts > local mutations > observing a document that doesn't exist initially, but later is created locally:
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
|
src/machine/__tests__/documentMutatorMachine.test.ts > local mutations > error when creating a document locally using 'create', when it turns out later that it exists on the server :
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
|
src/machine/__tests__/documentMutatorMachine.test.ts > remote mutations > it applies mendoza patches correctly:
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
|