Kaynağa Gözat

fix: add OPENCODE_CONFIG_DIR for proper test isolation

Jesse Vincent 9 ay önce
ebeveyn
işleme
9dcf5eaabe
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      tests/opencode/setup.sh

+ 1 - 0
tests/opencode/setup.sh

@@ -10,6 +10,7 @@ REPO_ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
 export TEST_HOME=$(mktemp -d)
 export HOME="$TEST_HOME"
 export XDG_CONFIG_HOME="$TEST_HOME/.config"
+export OPENCODE_CONFIG_DIR="$TEST_HOME/.config/opencode"
 
 # Install plugin to test location
 mkdir -p "$HOME/.config/opencode/superpowers"