Skip to content

Commit

Permalink
fix: update cli test commands (#857)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettladley authored May 20, 2024
1 parent 774f9e5 commit 21ae854
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/cmd/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ var testBackendCmd = &cobra.Command{
Run: func(cmd *cobra.Command, args []string) {
clear, _ := cmd.Flags().GetBool("clean")

err := helpers.Execute(exec.Command("go", "test", "./..."), helpers.BACKEND_DIR)
err := helpers.Execute(exec.Command("go", "test", "-v", "-race", "./..."), helpers.BACKEND_DIR)
if err != nil {
fmt.Println(err)
}
Expand All @@ -120,7 +120,7 @@ var testCliCmd = &cobra.Command{
Short: "CLI testing commands",
Args: cobra.NoArgs,
Run: func(cmd *cobra.Command, args []string) {
err := helpers.Execute(exec.Command("go", "test", "./..."), helpers.CLI_DIR)
err := helpers.Execute(exec.Command("go", "test", "-v", "-race", "./..."), helpers.CLI_DIR)
if err != nil {
fmt.Println(err)
os.Exit(1)
Expand Down

0 comments on commit 21ae854

Please sign in to comment.