New 🌊 wave for @helm

Commit b9282a25

b9282a25f615Merged

Sviatoslav Dumchenko <[email protected]> · 3 years ago · 4 files · ~4 modified

Description

fix: revert jsonschema tests

Details

Commit
b9282a25f615
Parent
4facebf1ac3a

pkg/registry/interface_test.gomodifiedView file

@@ -4,7 +4,6 @@
44 "testing"
55
66 "github.com/helmwave/helmwave/pkg/registry"
7- "github.com/invopop/jsonschema"
87 "github.com/stretchr/testify/suite"
98 "gopkg.in/yaml.v3"
109 )
@@ -19,10 +18,10 @@
1918 }
2019
2120 func (ts *InterfaceTestSuite) TestConfigsJSONSchema() {
22- schema := jsonschema.Reflect(registry.Configs{})
21+ schema := registry.Configs{}.JSONSchema()
2322
2423 ts.Require().NotNil(schema)
25- ts.Require().Equal("array", schema.Type)
24+ ts.Require().Equal("array", schema.Type, schema)
2625 }
2726
2827 func (ts *InterfaceTestSuite) TestUnmarshalYAMLEmpty() {