github.com/helmwave/helmwave@v0.36.4-0.20240509190856-b35563eba4c6/pkg/release/monitors_test.go (about) 1 package release_test 2 3 import ( 4 "testing" 5 6 "github.com/helmwave/helmwave/pkg/release" 7 "github.com/stretchr/testify/suite" 8 ) 9 10 type MonitorsTestSuite struct { 11 suite.Suite 12 } 13 14 func TestMonitorsTestSuite(t *testing.T) { 15 t.Parallel() 16 suite.Run(t, new(MonitorsTestSuite)) 17 } 18 19 func (s *MonitorsTestSuite) TestActionJSONSchema() { 20 schema := release.MonitorActionNone.JSONSchema() 21 22 s.Require().NotNil(schema) 23 s.Require().Equal("string", schema.Type) 24 }