MCPcopy Index your code
hub / github.com/commitdev/zero / validConfigContent

Function validConfigContent

internal/config/projectconfig/project_config_test.go:49–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49func validConfigContent() string {
50 return `
51# Templated zero-project.yml file
52name: abc
53
54shouldPushRepositories: true
55
56modules:
57 aws-eks-stack:
58 parameters:
59 a: b
60 files:
61 dir: zero-aws-eks-stack
62 repo: github.com/something/repo1
63 source: github.com/commitdev/zero-aws-eks-stack
64 backend-go:
65 parameters:
66 a: b
67 files:
68 dir: zero-backend-go
69 repo: github.com/something/repo2
70 source: github.com/commitdev/zero-backend-go
71 frontend-react:
72 parameters:
73 a: b
74 files:
75 dir: zero-frontend-react
76 repo: github.com/something/repo3
77 source: github.com/commitdev/zero-frontend-react
78`
79}
80
81func TestProjectConfigModuleGraph(t *testing.T) {
82 configPath := filepath.Join("../../../tests/test_data/projectconfig/", constants.ZeroProjectYml)

Callers 1

TestLoadConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected