()
| 170 | } |
| 171 | |
| 172 | func (tc testCase) goldenFilePath() string { |
| 173 | if tc.namespace == "default" { |
| 174 | return filepath.Join("./testdata", tc.name+".golden") |
| 175 | } |
| 176 | |
| 177 | return filepath.Join("./testdata", tc.name+"_"+tc.namespace+".golden") |
| 178 | } |
| 179 | |
| 180 | func TestRenderChart(t *testing.T) { |
| 181 | t.Parallel() |
no outgoing calls
no test coverage detected