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