commit cf707d7bc926fe7b2ad076850503644523284f83 parent c984b6b010de2fffff144cde102231b7db5cdb1a Author: Henry Unite <unitehenry@gmail.com> Date: Sun, 25 Oct 2026 17:22:06 +0000 chore: only run opencode test Diffstat:
| M | scripts/test | | | 8 | ++++++-- |
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/scripts/test b/scripts/test @@ -5,4 +5,9 @@ set -euo pipefail script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" "$script_dir/node" --version >/dev/null -npx vitest run "$@" -\ No newline at end of file +if [[ "$@" == "opencode" ]]; then + npx vitest run opencode.test.ts + return 0 +fi + +npx vitest run --exclude opencode.test.ts "$@"