File tree 1 file changed +7
-4
lines changed
packages/utils/test/schema
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,15 @@ export default function toPathSchemaTest(testValidator: TestValidatorType) {
16
16
__rjsf_additionalProperties : true ,
17
17
} ) ;
18
18
} ) ;
19
- it ( 'should return a pathSchema for root field, without additional properties' , ( ) => {
20
- const schema : RJSFSchema = { type : 'string' , additionalProperties : false } ;
19
+ it ( "should return a pathSchema for root field, without additional properties" , ( ) => {
20
+ const schema : RJSFSchema = {
21
+ type : "string" ,
22
+ additionalProperties : false ,
23
+ } ;
21
24
22
- expect ( toPathSchema ( testValidator , schema ) ) . toEqual ( { $name : '' } ) ;
25
+ expect ( toPathSchema ( testValidator , schema ) ) . toEqual ( { $name : "" } ) ;
23
26
} ) ;
24
- it ( ' should return a pathSchema for nested objects' , ( ) => {
27
+ it ( " should return a pathSchema for nested objects" , ( ) => {
25
28
const schema : RJSFSchema = {
26
29
type : "object" ,
27
30
properties : {
You can’t perform that action at this time.
0 commit comments