File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed
test/specs/bundle-callback Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -21,17 +21,41 @@ describe("Schema with a $ref", () => {
21
21
22
22
expect ( calls ) . to . deep . equal ( [
23
23
{
24
- path : "#/definitions/b " ,
25
- value : { $ref : "#/definitions/a " } ,
24
+ path : "#/definitions/a " ,
25
+ value : { $ref : "#/definitions/b " } ,
26
26
parent : {
27
27
a : {
28
28
$ref : "#/definitions/a" ,
29
29
} ,
30
+ b : {
31
+ $ref : "#/definitions/b" ,
32
+ } ,
33
+ } ,
34
+ parentPropName : "a" ,
35
+ } ,
36
+ {
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
+ } ,
30
44
b : {
31
45
$ref : "#/definitions/a" ,
32
46
} ,
33
47
} ,
34
48
parentPropName : "a" ,
49
+ } , " },
50
+ parent : {
51
+ a : {
52
+ $ref : "#/definitions/b" ,
53
+ } ,
54
+ b : {
55
+ $ref : "#/definitions/a" ,
56
+ } ,
57
+ } ,
58
+ parentPropName : "b" ,
35
59
} ,
36
60
{
37
61
path : "#/definitions/a" ,
You can’t perform that action at this time.
0 commit comments