Fixed function name typo for runScriptWithVariables

This commit is contained in:
Andrew Bastin
2020-01-26 13:51:14 -05:00
parent f16e6148b4
commit dc236c6bf1
2 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ const styles = {
//TODO: probably have to use a more global state for `test` //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 = { let pw = {
_errors: [], _errors: [],
_testReports: [], _testReports: [],

View File

@@ -1226,7 +1226,7 @@ import querystring from "querystring";
import textareaAutoHeight from "../directives/textareaAutoHeight"; import textareaAutoHeight from "../directives/textareaAutoHeight";
import parseCurlCommand from "../assets/js/curlparser.js"; import parseCurlCommand from "../assets/js/curlparser.js";
import getEnvironmentVariablesFromScript from "../functions/preRequest"; import getEnvironmentVariablesFromScript from "../functions/preRequest";
import runTestScriptWitVariables from "../functions/postwomanTesting"; import runTestScriptWithVariables from "../functions/postwomanTesting";
import parseTemplateString from "../functions/templating"; import parseTemplateString from "../functions/templating";
import AceEditor from "../components/ace-editor"; import AceEditor from "../components/ace-editor";
import { tokenRequest, oauthRedirect } from "../assets/js/oauth"; import { tokenRequest, oauthRedirect } from "../assets/js/oauth";
@@ -2220,7 +2220,7 @@ export default {
body: this.response.body, body: this.response.body,
headers: this.response.headers headers: this.response.headers
}; };
const { testResults } = runTestScriptWitVariables(this.testScript, { const { testResults } = runTestScriptWithVariables(this.testScript, {
response: syntheticResponse response: syntheticResponse
}); });
this.testReports = testResults; this.testReports = testResults;