chore(tests): accuracy tests for MongoDB tools exposed by MCP server MCP-39 #1283
Annotations
2 errors, 9 warnings, and 2 notices
|
|
|
tests/matchers/toIncludeSameMembers.ts#L4
AssertionError: expected [ { name: 'collection', …(3) }, …(5) ] to deeply equal ArrayContaining{…}
- Expected
+ Received
- ArrayContaining [
+ [
{
- "description": "Database name",
- "name": "database",
+ "description": "Collection name",
+ "name": "collection",
"required": true,
"type": "string",
},
{
- "description": "Collection name",
- "name": "collection",
+ "description": "Database name",
+ "name": "database",
"required": true,
"type": "string",
},
{
"description": "The query filter, matching the syntax of the query argument of db.collection.find()",
"name": "filter",
- "required": false,
- "type": "object",
- },
- {
- "description": "The projection, matching the syntax of the projection argument of db.collection.find()",
- "name": "projection",
"required": false,
"type": "object",
},
{
"description": "The maximum number of documents to return",
"name": "limit",
"required": false,
"type": "number",
},
{
- "description": "A document, describing the sort order, matching the syntax of the sort argument of cursor.sort()",
+ "description": "The projection, matching the syntax of the projection argument of db.collection.find()",
+ "name": "projection",
+ "required": false,
+ "type": "object",
+ },
+ {
+ "description": "A document, describing the sort order, matching the syntax of the sort argument of cursor.sort(). The keys of the object are the fields to sort on, while the values are the sort directions (1 for ascending, -1 for descending).",
"name": "sort",
"required": false,
"type": "object",
},
]
❯ Object.toIncludeSameMembers tests/matchers/toIncludeSameMembers.ts:4:20
❯ tests/integration/helpers.ts:211:32
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-07-18 09:14:02.409 sysadminctl[1062:6087] ----------------------------
2025-07-18 09:14:02.409 sysadminctl[1062:6087] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) !
2025-07-18 09:14:02.409 sysadminctl[1062:6087] ----------------------------
|
|
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
|
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
The logs for this run have expired and are no longer available.
Loading