veza/tmt/tests/backend/unit.sh
senke ad60247f33 feat: global update including storybook setup and backend fixes
- Web: Setup Storybook, added addons, configured Tailwind, added stories for UI components.
- Backend: Updated API router, database, workers, and auth in common.
- Stream Server: Removed SQLx queries and updated auth.
- Docs & Scripts: Updated documentation and recovery scripts.
2026-02-02 19:34:14 +01:00

17 lines
336 B
Bash
Executable file

#!/bin/bash
set -e
REPO_ROOT=$(git rev-parse --show-toplevel)
BACKEND_DIR="$REPO_ROOT/veza-backend-api"
echo "📍 Backend Unit Tests (Low Power Mode)"
cd "$BACKEND_DIR"
export GOMAXPROCS=1
echo "⚙️ Constraint: GOMAXPROCS=1"
echo "🧪 Running Unit Tests..."
go test ./internal/... -v -short
echo "✅ Unit tests completed."