()
| 116 | } |
| 117 | |
| 118 | func (tc testCase) goldenFilePath() string { |
| 119 | if tc.namespace == "default" { |
| 120 | return filepath.Join("./testdata", tc.name+".golden") |
| 121 | } |
| 122 | |
| 123 | return filepath.Join("./testdata", tc.name+"_"+tc.namespace+".golden") |
| 124 | } |
| 125 | |
| 126 | func TestRenderChart(t *testing.T) { |
| 127 | t.Parallel() |
no outgoing calls
no test coverage detected