allow configurable keyspace (#15) #6
release-on-main.yml
on: push
Create Git Tag, GitHub Release, and Publish to npm
18s
Annotations
11 errors
Create Git Tag, GitHub Release, and Publish to npm
Process completed with exit code 1.
|
tests/tools/EstimateDocumentCount.test.ts > EstimateDocumentCount Tool > should return an estimated document count of the passed collection:
tools/EstimateDocumentCount.ts#L23
TypeError: collection.estimatedDocumentCount is not a function
❯ Module.EstimateDocumentCount tools/EstimateDocumentCount.ts:23:34
❯ tests/tools/EstimateDocumentCount.test.ts:35:26
|
tests/tools/DeleteRecord.test.ts > DeleteRecord Tool > should delete a record from a collection:
tests/tools/DeleteRecord.test.ts#L43
AssertionError: expected "spy" to be called 1 times, but got 0 times
❯ tests/tools/DeleteRecord.test.ts:43:38
|
tests/tools/DeleteCollection.test.ts > DeleteCollection Tool > should delete a collection:
tools/DeleteCollection.ts#L20
TypeError: db.dropCollection is not a function
❯ Module.DeleteCollection tools/DeleteCollection.ts:20:12
❯ tests/tools/DeleteCollection.test.ts:32:26
|
tests/tools/CreateRecord.test.ts > CreateRecord Tool > should create a record with a specified ID:
tests/tools/CreateRecord.test.ts#L77
AssertionError: expected "spy" to be called 1 times, but got 0 times
❯ tests/tools/CreateRecord.test.ts:77:38
|
tests/tools/CreateRecord.test.ts > CreateRecord Tool > should create a record in a collection:
tests/tools/CreateRecord.test.ts#L47
AssertionError: expected "spy" to be called 1 times, but got 0 times
❯ tests/tools/CreateRecord.test.ts:47:38
|
tests/tools/CreateCollection.test.ts > CreateCollection Tool > should create a vector collection with custom dimensions:
tests/tools/CreateCollection.test.ts#L84
AssertionError: expected "spy" to be called with arguments: [ 'custom_vector_collection', …(1) ]
Received:
1st spy call:
Array [
"custom_vector_collection",
Object {
+ "vector": Object {
"dimension": 768,
- "vector": true,
+ },
},
]
Number of calls: 1
❯ tests/tools/CreateCollection.test.ts:84:37
|
tests/tools/CreateCollection.test.ts > CreateCollection Tool > should create a non-vector collection:
tests/tools/CreateCollection.test.ts#L60
AssertionError: expected "spy" to be called with arguments: [ 'new_document_collection', …(1) ]
Received:
1st spy call:
Array [
"new_document_collection",
- Object {
- "vector": false,
- },
]
Number of calls: 1
❯ tests/tools/CreateCollection.test.ts:60:37
|
tests/tools/CreateCollection.test.ts > CreateCollection Tool > should create a vector collection with default dimensions:
tests/tools/CreateCollection.test.ts#L38
AssertionError: expected "spy" to be called with arguments: [ 'new_collection', …(1) ]
Received:
1st spy call:
Array [
"new_collection",
Object {
+ "vector": Object {
"dimension": 1536,
- "vector": true,
+ },
},
]
Number of calls: 1
❯ tests/tools/CreateCollection.test.ts:38:37
|
tests/server.test.ts > MCP Server > should set up request handlers for ListTools and CallTool:
tests/server.test.ts#L80
ReferenceError: mockSetRequestHandler is not defined
❯ tests/server.test.ts:80:12
|
tests/server.test.ts > MCP Server > should initialize the server with correct configuration:
tests/server.test.ts#L62
AssertionError: expected "spy" to be called with arguments: [ Array(2) ]
Received:
Number of calls: 0
❯ tests/server.test.ts:62:20
|