Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

🔖 Checkpoint: Edit /workspaces/claude-code-flow/user-service/tests/setup.ts

rUv3d86d12a4332
diff --git a/.claude/checkpoints/1754489029.json b/.claude/checkpoints/1754489029.json
new file mode 100644
index 0000000000..9c85d64a60
--- /dev/null
+++ b/.claude/checkpoints/1754489029.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250806-140349", "file": "/workspaces/claude-code-flow/user-service/jest.config.js", "timestamp": "2025-08-06T14:03:49Z", "type": "pre-edit", "original_branch": "alpha-88"}
diff --git a/.claude/checkpoints/1754489030.json b/.claude/checkpoints/1754489030.json
new file mode 100644
index 0000000000..7f57612b11
--- /dev/null
+++ b/.claude/checkpoints/1754489030.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250806-140350", "file": "/workspaces/claude-code-flow/user-service/jest.config.js", "timestamp": "2025-08-06T14:03:50Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/task-metrics.json | 6 +++--- .claude/checkpoints/1754489020.json | 1 + benchmark/.claude/checkpoints/task-1754489020.json | 1 + claude-flow-wiki | 0 user-service/jest.config.js | 16 ++++++++++++++++ 6 files changed, 22 insertions(+), 4 deletions(-) "}
diff --git a/user-service/tests/setup.ts b/user-service/tests/setup.ts
new file mode 100644
index 0000000000..8e6b35b771
--- /dev/null
+++ b/user-service/tests/setup.ts
@@ -0,0 +1,11 @@
+import { userRepository } from '../src/repositories/user.repository';
+
+// Clear database before each test
+beforeEach(async () => {
+ await userRepository.clear();
+});
+
+// Set test environment
+process.env.NODE_ENV = 'test';
+process.env.JWT_SECRET = 'test-secret-key';
+process.env.LOG_LEVEL = 'error';
\ No newline at end of file