Skip to content

Commit 2e8c991

Browse files
committed
lint
1 parent fec735f commit 2e8c991

File tree

1 file changed

+21
-15
lines changed

1 file changed

+21
-15
lines changed

tests/integration/tools/mongodb/read/count.test.ts

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,27 @@ import {
88
} from "../../../helpers.js";
99

1010
describeWithMongoDB("count tool", (integration) => {
11-
validateToolMetadata(integration, "count", "Gets the number of documents in a MongoDB collection using countDocuments()", [
12-
{
13-
name: "filter",
14-
description: "The query filter to count documents. Matches the syntax of the filter argument of db.collection.countDocuments()",
15-
type: "object",
16-
required: false,
17-
},
18-
{
19-
name: "query",
20-
description: "Alternative old name for filter. Will be used in db.collection.countDocuments()",
21-
type: "object",
22-
required: false,
23-
},
24-
...databaseCollectionParameters,
25-
]);
11+
validateToolMetadata(
12+
integration,
13+
"count",
14+
"Gets the number of documents in a MongoDB collection using countDocuments()",
15+
[
16+
{
17+
name: "filter",
18+
description:
19+
"The query filter to count documents. Matches the syntax of the filter argument of db.collection.countDocuments()",
20+
type: "object",
21+
required: false,
22+
},
23+
{
24+
name: "query",
25+
description: "Alternative old name for filter. Will be used in db.collection.countDocuments()",
26+
type: "object",
27+
required: false,
28+
},
29+
...databaseCollectionParameters,
30+
]
31+
);
2632

2733
validateThrowsForInvalidArguments(integration, "count", [
2834
{},

0 commit comments

Comments
 (0)