-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
40 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,22 @@ | ||
package e2e_test | ||
|
||
import ( | ||
. "github.com/onsi/ginkgo/v2" | ||
) | ||
|
||
func CZTest() { | ||
Context("Check Commitizen", func() { | ||
It("should not need to select a template", func() { | ||
se, err = RunCLITest() | ||
NoError(err) | ||
ShouldContains(se, "Select the type of change that you're committing:") | ||
ShouldNotContains(se, "Select a template to use for this commit:") | ||
}) | ||
}) | ||
|
||
Context("Check Commitizen Cancel", func() { | ||
It("should output canceled", func() { | ||
se, err = RunCLITest() | ||
NoError(err) | ||
se.Terminate() | ||
ShouldContains(se, "canceled") | ||
ExitCode(se, 0) | ||
}) | ||
}) | ||
// Context("Check Commitizen", func() { | ||
// It("should not need to select a template", func() { | ||
// se, err = RunCLITest() | ||
// NoError(err) | ||
// ShouldContains(se, "Select the type of change that you're committing:") | ||
// ShouldNotContains(se, "Select a template to use for this commit:") | ||
// }) | ||
// }) | ||
// | ||
// Context("Check Commitizen Cancel", func() { | ||
// It("should output canceled", func() { | ||
// se, err = RunCLITest() | ||
// NoError(err) | ||
// se.Terminate() | ||
// ShouldContains(se, "canceled") | ||
// ExitCode(se, 0) | ||
// }) | ||
// }) | ||
} |