Skip to content

Commit e595105

Browse files
committed
additional 'ignore' tests with nested matches
1 parent fc6cee5 commit e595105

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/draft-next/propertyDependencies.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,16 @@
6767
"data": {"foo": {}},
6868
"valid": true
6969
},
70+
{
71+
"description": "ignores objects wth a key of the expected value",
72+
"data": {"foo": {"bar": "baz"}},
73+
"valid": true
74+
},
75+
{
76+
"description": "ignores objects with the expected value nested in structure",
77+
"data": {"foo": {"baz": "bar"}},
78+
"valid": true
79+
},
7080
{
7181
"description": "ignores arrays",
7282
"data": {"foo": []},

0 commit comments

Comments
 (0)