MCPcopy
hub / github.com/1Password/for-open-source / isTesting

Function isTesting

script/testing.go:109–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107}
108
109func isTesting() bool {
110 return testIssue != nil || os.Getenv("TEST") == "true"
111}
112
113func debugMessage(message string, data ...interface{}) {
114 if isTesting() {

Callers 11

InitMethod · 0.85
InitIssueMethod · 0.85
CreateIssueCommentMethod · 0.85
AddIssueLabelMethod · 0.85
RemoveIssueLabelMethod · 0.85
CloseIssueMethod · 0.85
commitFileMethod · 0.85
ParseMethod · 0.85
debugMessageFunction · 0.85
botMessageFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected