mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-22 20:25:38 +00:00
* fix: resolve global env variable becoming undefined on script execution Fixes an issue where global disabled environment variables were becoming undefined during request execution when the pre request script is non-empty. The update ensures that global variables persist as expected and are correctly referenced throughout the request lifecycle. Closes #5772. * feat: added test for checking proper global env update through scripts * refactor: updated comments for more readability and added a new data-testid in modal.
35 lines
731 B
JSON
35 lines
731 B
JSON
{
|
|
"environments": [
|
|
{
|
|
"uid": "RrPsTcwRnHMv3yljQO3ex",
|
|
"name": "global",
|
|
"variables": [
|
|
{
|
|
"uid": "VXKOZdkYw0DyI4mlhn6Wr",
|
|
"name": "baseUrl",
|
|
"value": "https://echo.usebruno.com",
|
|
"type": "text",
|
|
"secret": false,
|
|
"enabled": true
|
|
},
|
|
{
|
|
"uid": "NTwrSscXsaeh4uee6ocJN",
|
|
"name": "existingEnvEnabled",
|
|
"value": "existingEnvEnabledValue",
|
|
"type": "text",
|
|
"secret": false,
|
|
"enabled": true
|
|
},
|
|
{
|
|
"uid": "PCsUccFm4pktVowXEKRvw",
|
|
"name": "existingEnvDisabled",
|
|
"value": "existingEnvDisabledValue",
|
|
"type": "text",
|
|
"secret": false,
|
|
"enabled": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"activeGlobalEnvironmentUid": "RrPsTcwRnHMv3yljQO3ex"
|
|
} |