Spaces:
Sleeping
Sleeping
Commit History
-
test: refactor test infra with createClearCjs helper
- Add a helper to clear the CJS require cache between module re-imports - Simplify server tests that inject mock dependencies13def79 -
fix: load env at startup and add admin key with argon2
- Call loadEnv() during server startup instead of lazily - Add ADMIN_KEY to the config module - Add argon2 dependency for admin password hashingbd2e5f8
-
test: migrate test imports to CJS _require for V8 coverage
- Route dynamic imports through the CJS cache helper - Ensure V8 coverage is tracked for CommonJS modules9c74555
-
refactor: reorganize src into feature subdirectories
- Group config, db, middleware, redis, and server code into subfolders - Update all require paths across the codebase1f0f638
-
test: add unit tests for core modules
- Cover config, load-env, database, migrate, seed, redis, and rate-limiter - Re-import modules with different environment values to hit each branch25059bd