Commit df23a62
Fix test skip mechanism to handle empty env vars
The ifEnvVarNotSet function was only checking for undefined, but in CI
environments variables can be set to empty strings. This caused tests
to run when they should have been skipped, resulting in 401 errors.
Now checks for both undefined and empty string values.
Co-authored-by: Ona <[email protected]>1 parent 10a86a0 commit df23a62
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
0 commit comments