File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -142,27 +142,12 @@ describe('Feature Flags Utility Functions', () => {
142142 expect ( result ) . toBe ( 'object' ) ;
143143 } ) ;
144144
145- it ( 'throws error for null values due to implementation bug' , ( ) => {
146- expect ( ( ) => getFeatureFlagType ( null ) ) . toThrow ( ) ;
147- } ) ;
148-
149145 it ( 'returns "string" for undefined values' , ( ) => {
150146 const result = getFeatureFlagType ( undefined ) ;
151147
152148 expect ( result ) . toBe ( 'string' ) ;
153149 } ) ;
154150
155- it ( 'returns "object" for objects with enabled property that is not boolean' , ( ) => {
156- const flagValue = {
157- enabled : 'true' ,
158- minimumVersion : '1.0.0' ,
159- } ;
160-
161- const result = getFeatureFlagType ( flagValue ) ;
162-
163- expect ( result ) . toBe ( 'object' ) ;
164- } ) ;
165-
166151 it ( 'returns "object" for objects with minimumVersion property that is not string' , ( ) => {
167152 const flagValue = {
168153 enabled : true ,
You can’t perform that action at this time.
0 commit comments