[ // Test 0 ----------------------------------------- { "input": [ { "length": 3, "bar": "item0.bar" }, { "length": 42, "bar": "item1.bar" }, { "bar": "item2.bar" }, { "length": 42, "bar": "item3.bar" }, ], "output": [ "item0.bar", "item1.bar", "item3.bar" ], "states": ["Pass"], }, // Test 1 ----------------------------------------- { "input": [ { "length": 3, "bar": "item0.bar" }, { "bar": "item1.bar" }, ], // Our handling of path filters is coercing the array into its only element. After fixing this, we should actually // expect an array as output "output": "item0.bar", "states": ["Pass"], }, ]