(t *testing.T)
| 206 | } |
| 207 | |
| 208 | func TestStartDespiteGitHook(t *testing.T) { |
| 209 | _, configuration := setup(t) |
| 210 | createExecutableFileInPath(t, workingDir+"/.git/hooks", "pre-commit", "#!/bin/sh\necho 'boo'\nexit 1\n") |
| 211 | |
| 212 | start(configuration) |
| 213 | |
| 214 | assertOnBranch(t, "mob-session") |
| 215 | assertMobSessionBranches(t, configuration, "mob-session") |
| 216 | } |
| 217 | |
| 218 | func TestStartWithCISkip(t *testing.T) { |
| 219 | output, configuration := setup(t) |
nothing calls this directly
no test coverage detected