diff options
| author | Jesse Vincent <jesse@fsck.com> | 2025-11-23 13:36:26 -0800 |
|---|---|---|
| committer | Jesse Vincent <jesse@fsck.com> | 2025-11-23 13:36:26 -0800 |
| commit | 9dcf5eaabe9f0a38fc31326fe28c7ada086236e0 (patch) | |
| tree | 93b8a15c467083406e180586434afbb86332f8b1 /tests/opencode/setup.sh | |
| parent | f3d6c331a1950abb19ef1f28a78b01765ad1b873 (diff) | |
fix: add OPENCODE_CONFIG_DIR for proper test isolation
Diffstat (limited to 'tests/opencode/setup.sh')
| -rwxr-xr-x | tests/opencode/setup.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/opencode/setup.sh b/tests/opencode/setup.sh index 5eb0b31..4aea82e 100755 --- a/tests/opencode/setup.sh +++ b/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" |
