chore: When querying with vectorSearch use the generated embeddings MCP-245 #271
Annotations
2 errors
|
Run tests
Process completed with exit code 1.
|
|
Run tests:
tests/matchers/toIncludeSameMembers.ts#L4
AssertionError: expected [ { name: 'collection', …(3) }, …(3) ] to deeply equal ArrayContaining{…}
- Expected
+ Received
@@ -1,20 +1,20 @@
- 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": "An array of aggregation stages to execute",
+ "description": "An array of aggregation stages to execute. $vectorSearch can only appear as the first stage of the aggregation pipeline or as the first stage of a $unionWith subpipeline.",
"name": "pipeline",
"required": true,
"type": "array",
},
{
❯ Object.toIncludeSameMembers tests/matchers/toIncludeSameMembers.ts:4:20
❯ tests/integration/helpers.ts:305:32
|
Loading