Fixed function name typo for runScriptWithVariables
This commit is contained in:
@@ -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: [],
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user