@elizaos/plugin-forms
Version:
Forms plugin for ElizaOS - structured conversational data collection
15 lines (14 loc) • 508 B
TypeScript
import type { IAgentRuntime, Memory, State } from '@elizaos/core';
/**
* Creates a mock memory object for testing
*/
export declare function createMockMemory(overrides?: Partial<Memory>): Memory;
/**
* Creates a mock state object for testing
*/
export declare function createMockState(overrides?: Partial<State>): State;
/**
* Sets up logger spies for common usage in tests
*/
export declare function setupLoggerSpies(mockFn?: typeof console.info): () => void;
export type MockRuntime = IAgentRuntime;