chore: basic machine vitest... need to figure out how to get window.electron implemented in vitest?
This commit is contained in:
@ -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],
|
||||
|
||||
Reference in New Issue
Block a user