test: update memory cli mocks for vector probe
This commit is contained in:
parent
e3638a9a9e
commit
1c4297d8b5
@ -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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user