Skip to content

Feature/commit consistency #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 27, 2019
Prev Previous commit
Next Next commit
save commit on test pass
  • Loading branch information
ShMcK committed Jul 24, 2019
commit f0824c4d07ed14f55429c67782c3a90b642c3142
3 changes: 2 additions & 1 deletion src/state/actions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@ export default (dispatch: CR.EditorDispatch) => ({
testStart() {
dispatch('coderoad.run_test')
},
testPass() {
testPass(context: CR.MachineContext): void {
dispatch('coderoad.test_pass')
git.gitSaveCommit(context.position)
},
testFail() {
dispatch('coderoad.test_fail')
Expand Down