We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6aca719 commit 4435c83Copy full SHA for 4435c83
1 file changed
tests/helpers.bash
@@ -3,6 +3,8 @@
3
4
# Get the repo root (parent of tests directory)
5
OSA_TEST_REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
6
+# Export repo path for tests that expect OSA_REPO_PATH to be set
7
+export OSA_REPO_PATH="$OSA_TEST_REPO_ROOT"
8
9
# Create a temporary test directory for each test
10
export TEST_TEMP_DIR=""
@@ -19,6 +21,8 @@ setup_test_env() {
19
21
20
22
# Export for use in subshells
23
export TEST_TEMP_DIR TEST_LOG MOCK_HOME
24
+ # Ensure OSA_REPO_PATH is available inside test environment
25
+ export OSA_REPO_PATH="$OSA_TEST_REPO_ROOT"
26
}
27
28
# Cleanup test environment
0 commit comments