test: update memory cli mocks for vector probe
This commit is contained in:
@@ -30,6 +30,7 @@ describe("memory cli", () => {
|
|||||||
const close = vi.fn(async () => {});
|
const close = vi.fn(async () => {});
|
||||||
getMemorySearchManager.mockResolvedValueOnce({
|
getMemorySearchManager.mockResolvedValueOnce({
|
||||||
manager: {
|
manager: {
|
||||||
|
probeVectorAvailability: vi.fn(async () => true),
|
||||||
status: () => ({
|
status: () => ({
|
||||||
files: 2,
|
files: 2,
|
||||||
chunks: 5,
|
chunks: 5,
|
||||||
@@ -68,6 +69,7 @@ describe("memory cli", () => {
|
|||||||
const close = vi.fn(async () => {});
|
const close = vi.fn(async () => {});
|
||||||
getMemorySearchManager.mockResolvedValueOnce({
|
getMemorySearchManager.mockResolvedValueOnce({
|
||||||
manager: {
|
manager: {
|
||||||
|
probeVectorAvailability: vi.fn(async () => false),
|
||||||
status: () => ({
|
status: () => ({
|
||||||
files: 0,
|
files: 0,
|
||||||
chunks: 0,
|
chunks: 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user