(t *testing.T, name string)
| 49 | } |
| 50 | |
| 51 | func readTestdata(t *testing.T, name string) string { |
| 52 | t.Helper() |
| 53 | data, err := os.ReadFile(filepath.Join("testdata", name)) |
| 54 | require.NoError(t, err) |
| 55 | return string(data) |
| 56 | } |
| 57 | |
| 58 | func TestSchemaSourceLocate(t *testing.T) { |
| 59 | schema := readTestdata(t, "schema.graphql") |
no test coverage detected