1data: 2 - {_id: 1, x: 11} 3 - {_id: 2, x: 22} 4 - {_id: 3, x: 33} 5 6tests: 7 - 8 description: "Distinct without a filter" 9 operation: 10 name: distinct 11 arguments: 12 fieldName: "x" 13 filter: {} 14 15 outcome: 16 result: 17 - 11 18 - 22 19 - 33 20 - 21 description: "Distinct with a filter" 22 operation: 23 name: distinct 24 arguments: 25 fieldName: "x" 26 filter: 27 _id: {$gt: 1} 28 29 outcome: 30 result: 31 - 22 32 - 33