feat: test script and pre-request script wiring

This commit is contained in:
Andrew Bastin
2021-07-21 23:56:39 -04:00
parent 5f5f086dfc
commit 8597c04ff1
6 changed files with 193 additions and 16 deletions

View File

@@ -36,7 +36,7 @@ export default function getEnvironmentVariablesFromScript(script: string) {
// run pre-request script within this function so that it has access to the pw object.
// eslint-disable-next-line no-new-func
new Function("pw", script)(pw)
} catch (_e) {}
} catch (_e) { }
return _variables
}