Added pw.env.set() for storing environment variables

This commit is contained in:
liyasthomas
2019-11-09 12:17:50 +05:30
parent 6ffbd88d92
commit c2519bdb7d

View File

@@ -7,6 +7,9 @@ export default function getEnvironmentVariablesFromScript(script) {
environment: {
set: (key, value) => _variables[key] = value,
},
env: {
set: (key, value) => _variables[key] = value,
},
// globals that the script is allowed to have access to.
};