Fixed function name typo for runScriptWithVariables
This commit is contained in:
parent
f16e6148b4
commit
dc236c6bf1
2 changed files with 3 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ const styles = {
|
|||
|
||||
//TODO: probably have to use a more global state for `test`
|
||||
|
||||
export default function runTestScriptWitVariables(script, variables) {
|
||||
export default function runTestScriptWithVariables(script, variables) {
|
||||
let pw = {
|
||||
_errors: [],
|
||||
_testReports: [],
|
||||
|
|
|
|||
|
|
@ -1226,7 +1226,7 @@ import querystring from "querystring";
|
|||
import textareaAutoHeight from "../directives/textareaAutoHeight";
|
||||
import parseCurlCommand from "../assets/js/curlparser.js";
|
||||
import getEnvironmentVariablesFromScript from "../functions/preRequest";
|
||||
import runTestScriptWitVariables from "../functions/postwomanTesting";
|
||||
import runTestScriptWithVariables from "../functions/postwomanTesting";
|
||||
import parseTemplateString from "../functions/templating";
|
||||
import AceEditor from "../components/ace-editor";
|
||||
import { tokenRequest, oauthRedirect } from "../assets/js/oauth";
|
||||
|
|
@ -2220,7 +2220,7 @@ export default {
|
|||
body: this.response.body,
|
||||
headers: this.response.headers
|
||||
};
|
||||
const { testResults } = runTestScriptWitVariables(this.testScript, {
|
||||
const { testResults } = runTestScriptWithVariables(this.testScript, {
|
||||
response: syntheticResponse
|
||||
});
|
||||
this.testReports = testResults;
|
||||
|
|
|
|||
Loading…
Reference in a new issue