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

Method goldenFilePath

helm/provisioner/tests/chart_test.go:118–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116}
117
118func (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
126func TestRenderChart(t *testing.T) {
127 t.Parallel()

Callers 2

TestRenderChartFunction · 0.45
TestUpdateGoldenFilesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected