Commit 8240afc
committed
refactor: improve environment variable handling and test cleanup
- Move envConfigs to global scope for better reusability
- Add clearCoDevelopedByEnvVars utility function for centralized environment variable cleanup
- Update tests to use the new utility function instead of manual delete operations
- Improve code organization and maintainability
- All tests continue to pass successfully
This refactoring makes the code more maintainable and provides a centralized
way to manage environment variables used by the getCoDevelopedBy function.
Change-Id: Iac187f3977cdbffb28af9b316717288b50001045
Co-developed-by: Cursor <noreply@cursor.com>1 parent d806f52 commit 8240afc
2 files changed
Lines changed: 35 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
8 | 37 | | |
9 | 38 | | |
10 | 39 | | |
| |||
147 | 176 | | |
148 | 177 | | |
149 | 178 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | 179 | | |
162 | 180 | | |
163 | 181 | | |
| |||
715 | 733 | | |
716 | 734 | | |
717 | 735 | | |
| 736 | + | |
718 | 737 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
513 | 514 | | |
514 | 515 | | |
515 | 516 | | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
| 517 | + | |
| 518 | + | |
521 | 519 | | |
522 | 520 | | |
523 | 521 | | |
| |||
526 | 524 | | |
527 | 525 | | |
528 | 526 | | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
| 527 | + | |
| 528 | + | |
534 | 529 | | |
535 | 530 | | |
536 | 531 | | |
| |||
0 commit comments