(actions: TT.StepActions)
| 38 | |
| 39 | // run when a step solution starts |
| 40 | export const onSolutionEnter = async (actions: TT.StepActions): Promise<void> => { |
| 41 | await git.clear() |
| 42 | await loadCommits(actions?.commits) |
| 43 | await openFiles(actions?.files) |
| 44 | await runCommands(actions?.commands) |
| 45 | await runVSCodeCommands(actions?.vscodeCommands) |
| 46 | await runTest() |
| 47 | } |
| 48 | |
| 49 | // run when "reset" is triggered |
| 50 | export const onReset = async (actions: TT.StepActions, tutorialId: string): Promise<void> => { |
nothing calls this directly
no test coverage detected