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", () => {
18
18
} ,
19
19
} as Options ;
20
20
await parser . bundle ( schema , options ) ;
21
-
21
+ console . log ( calls )
22
22
expect ( calls ) . to . deep . equal ( [
23
23
{
24
- path : "#/definitions/a " ,
24
+ path : "#/definitions/b " ,
25
25
value : { $ref : "#/definitions/b" } ,
26
26
parent : {
27
27
a : {
28
- $ref : "#/definitions/a " ,
28
+ $ref : "#/definitions/b " ,
29
29
} ,
30
30
b : {
31
- $ref : "#/definitions/b " ,
31
+ $ref : "#/definitions/a " ,
32
32
} ,
33
33
} ,
34
34
parentPropName : "a" ,
35
35
} ,
36
36
{
37
37
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" } ,
50
39
parent : {
51
40
a : {
52
41
$ref : "#/definitions/b" ,
You can’t perform that action at this time.
0 commit comments