MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / TestStartIncludeUnstagedChanges

Function TestStartIncludeUnstagedChanges

mob_test.go:559–568  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

557}
558
559func TestStartIncludeUnstagedChanges(t *testing.T) {
560 _, configuration := setup(t)
561 configuration.HandleUncommittedChanges = config.IncludeChanges
562 createFile(t, "test.txt", "contentIrrelevant")
563
564 start(configuration)
565
566 assertOnBranch(t, "mob-session")
567 assertMobSessionBranches(t, configuration, "mob-session")
568}
569
570func TestStartDiscardUnstagedChanges(t *testing.T) {
571 _, configuration := setup(t)

Callers

nothing calls this directly

Calls 5

setupFunction · 0.85
createFileFunction · 0.85
startFunction · 0.85
assertOnBranchFunction · 0.85
assertMobSessionBranchesFunction · 0.85

Tested by

no test coverage detected