-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Component/s: Command Logging and Monitoring
-
None
The command.json file only specifies tests for the "count" command, but it uses the "filter" argument from the crud spec (instead of the "query" parameter from the actual command). This seems to indicate that this file isn't testing a generic command helper as its name suggests but rather the count helper method. If that's the case, the file should be renamed to indicate so, and its tests should be updated to use the new estimatedDocumentCount and countDocuments helpers (and mark the count variants deprecated).