chore: basic machine vitest... need to figure out how to get window.electron implemented in vitest?

This commit is contained in:
Kevin Nadro
2025-04-15 07:41:22 -06:00
parent c9587fda07
commit 9978ad6e23
2 changed files with 69 additions and 2 deletions

View File

@ -157,8 +157,9 @@ export const systemIOMachine = setup({
[SystemIOMachineStates.idle]: {
on: {
// on can be an action
[SystemIOMachineEvents.readFoldersFromProjectDirectory]:
SystemIOMachineStates.readingFolders,
[SystemIOMachineEvents.readFoldersFromProjectDirectory]: {
target: SystemIOMachineStates.readingFolders,
},
[SystemIOMachineEvents.setProjectDirectoryPath]: {
target: SystemIOMachineStates.readingFolders,
actions: [SystemIOMachineActions.setProjectDirectoryPath],