✨ Added pw.env.set() for storing environment variables
This commit is contained in:
@@ -7,6 +7,9 @@ export default function getEnvironmentVariablesFromScript(script) {
|
|||||||
environment: {
|
environment: {
|
||||||
set: (key, value) => _variables[key] = value,
|
set: (key, value) => _variables[key] = value,
|
||||||
},
|
},
|
||||||
|
env: {
|
||||||
|
set: (key, value) => _variables[key] = value,
|
||||||
|
},
|
||||||
// globals that the script is allowed to have access to.
|
// globals that the script is allowed to have access to.
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user