MCPcopy Index your code
hub / github.com/coder/coder / goldenFilePath

Method goldenFilePath

helm/coder/tests/chart_test.go:172–178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170}
171
172func (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
180func TestRenderChart(t *testing.T) {
181 t.Parallel()

Callers 2

TestRenderChartFunction · 0.45
TestUpdateGoldenFilesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected