mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 14:43:05 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/user-service/tests/setup.ts
This commit is contained in:
1 parent
f1754bd98a
commit
0bc73aad9b
3 files changed
+13
No files matched your search
@@ -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"}
|
||||
@@ -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(-) "}
|
||||
@@ -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';
|
||||
Reference in new issue
Block a user