File tree Expand file tree Collapse file tree 1 file changed +5
-16
lines changed
test/specs/bundle-callback Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -18,35 +18,24 @@ describe("Schema with a $ref", () => {
1818 } ,
1919 } as Options ;
2020 await parser . bundle ( schema , options ) ;
21-
21+ console . log ( calls )
2222 expect ( calls ) . to . deep . equal ( [
2323 {
24- path : "#/definitions/a " ,
24+ path : "#/definitions/b " ,
2525 value : { $ref : "#/definitions/b" } ,
2626 parent : {
2727 a : {
28- $ref : "#/definitions/a " ,
28+ $ref : "#/definitions/b " ,
2929 } ,
3030 b : {
31- $ref : "#/definitions/b " ,
31+ $ref : "#/definitions/a " ,
3232 } ,
3333 } ,
3434 parentPropName : "a" ,
3535 } ,
3636 {
3737 path : "#/definitions/a" ,
38- value : { $ref : "#/definitions/apath: " #/ definitions / b ",
39- value : { $ref : "#/definitions/b" } ,
40- parent : {
41- a : {
42- $ref : "#/definitions/b" ,
43- } ,
44- b : {
45- $ref : "#/definitions/a" ,
46- } ,
47- } ,
48- parentPropName : "a" ,
49- } , " },
38+ value : { $ref : "#/definitions/a" } ,
5039 parent : {
5140 a : {
5241 $ref : "#/definitions/b" ,
You can’t perform that action at this time.
0 commit comments