Skip to content

Commit

Permalink
nit change
Browse files Browse the repository at this point in the history
  • Loading branch information
anveshreddy18 committed Mar 13, 2024
1 parent 1277df9 commit 6e3a8eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/miscellaneous/miscellaneous.go
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ func RemoveDir(dir string) error {
return nil
}

// IsUnitTestEnv checks whether the environment is unit test or not.
func IsUnitTestEnv() bool {
return os.Getenv("UNIT_TEST") == "true"
}

0 comments on commit 6e3a8eb

Please sign in to comment.