MCPcopy Index your code
hub / github.com/1Password/for-open-source / findTestApplication

Function findTestApplication

script/testing.go:129–137  ·  view source on GitHub ↗
(testName string)

Source from the content-addressed store, hash-verified

127}
128
129func findTestApplication(testName string) (*TestApplicationSet, error) {
130 for _, app := range testApplications {
131 if app.name == testName {
132 return &app, nil
133 }
134 }
135
136 return nil, fmt.Errorf("cannot find test application named '%s'", testName)
137}
138
139func loadIssue(issue interface{}) error {
140 data, err := os.ReadFile("./script/mock-issue.json")

Callers 1

setTestApplicationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected