16 lines
472 B
Bash
16 lines
472 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT="$(cd "$(dirname "$0")" && pwd)"
|
|
|
|
cd "$ROOT/tauri-app"
|
|
|
|
npm run test -- src/App.test.tsx src/components/ChatView.test.tsx >/tmp/autoresearch-chat-history-tests.txt 2>&1
|
|
npm run build >/tmp/autoresearch-chat-history-build.txt 2>&1
|
|
|
|
echo "METRIC chat_history_score=100"
|
|
echo "METRIC app_send_flow_passed=1"
|
|
echo "METRIC chat_switch_abort_guard_passed=1"
|
|
echo "METRIC frontend_tests_passed=1"
|
|
echo "METRIC frontend_build_passed=1"
|