()
| 60 | ) |
| 61 | |
| 62 | func getTestServerURL() string { |
| 63 | if testServer != nil { |
| 64 | return testServer.URL |
| 65 | } |
| 66 | testServerMu.Lock() |
| 67 | defer testServerMu.Unlock() |
| 68 | testServer = createTestServer() |
| 69 | return testServer.URL |
| 70 | } |
| 71 | |
| 72 | func getTestFileContent(t *testing.T, filename string) []byte { |
| 73 | b, err := os.ReadFile(tests.GetTestFilePath(filename)) |
no test coverage detected
searching dependent graphs…