diff --git a/.claude/checkpoints/1754320270.json b/.claude/checkpoints/1754320270.json new file mode 100644 index 0000000000..9888a5c33e --- /dev/null +++ b/.claude/checkpoints/1754320270.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250804-151110", "file": "/workspaces/claude-code-flow/agentic-flow/src/tests/validation/jest.config.js", "timestamp": "2025-08-04T15:11:10Z", "type": "pre-edit", "original_branch": "alpha-85"} diff --git a/.claude/checkpoints/1754320271.json b/.claude/checkpoints/1754320271.json new file mode 100644 index 0000000000..7b6b8f4840 --- /dev/null +++ b/.claude/checkpoints/1754320271.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250804-151111", "file": "/workspaces/claude-code-flow/agentic-flow/src/tests/validation/jest.config.js", "timestamp": "2025-08-04T15:11:11Z", "type": "post-edit", "branch": "alpha-85", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 1526 ++-------------------- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1754320256.json | 1 + .claude/checkpoints/1754320258.json | 1 + agentic-flow/src/tests/validation/jest.config.js | 40 + claude-flow-wiki | 0 memory/memory-store.json | 12 + 8 files changed, 155 insertions(+), 1433 deletions(-) "} diff --git a/agentic-flow/src/tests/validation/env.setup.js b/agentic-flow/src/tests/validation/env.setup.js new file mode 100644 index 0000000000..a7601ea514 --- /dev/null +++ b/agentic-flow/src/tests/validation/env.setup.js @@ -0,0 +1,17 @@ +/** + * Environment setup for validation tests + */ + +// Set TensorFlow.js backend to CPU for consistent testing +process.env.TF_CPP_MIN_LOG_LEVEL = '3'; // Suppress TensorFlow warnings +process.env.CUDA_VISIBLE_DEVICES = ''; // Force CPU-only execution + +// Jest global configuration +global.console = { + ...console, + // Suppress verbose logging during tests + debug: jest.fn(), + info: process.env.NODE_ENV === 'test' ? jest.fn() : console.info, + warn: console.warn, + error: console.error, +}; \ No newline at end of file