(t *testing.T)
| 430 | } |
| 431 | |
| 432 | func TestResetCommit(t *testing.T) { |
| 433 | output, configuration := setup(t) |
| 434 | start(configuration) |
| 435 | createFile(t, "example.txt", "contentIrrelevant") |
| 436 | next(configuration) |
| 437 | assertMobSessionBranches(t, configuration, "mob-session") |
| 438 | |
| 439 | reset(configuration) |
| 440 | |
| 441 | assertOutputContains(t, output, "mob reset --delete-remote-wip-branch") |
| 442 | assertMobSessionBranches(t, configuration, "mob-session") |
| 443 | } |
| 444 | |
| 445 | func TestResetDeleteRemoteWipBranchCommit(t *testing.T) { |
| 446 | _, configuration := setup(t) |
nothing calls this directly
no test coverage detected