Skip to content

Commit e4b5b57

Browse files
random fix corrected export module
1 parent 48bca6d commit e4b5b57

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/webpagetest.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,11 @@ function runTestAndWait(what, options, callback) {
586586
(!data || (data && data.data && data.statusCode !== 200)) &&
587587
!(typeof err === "number" && data === undefined)
588588
) {
589+
// console.log(
590+
// data && data.data && data.data.statusText
591+
// ? data.data.statusText
592+
// : "Testing in progress"
593+
// );
589594
polling = setTimeout(
590595
getTestResults.bind(this, testId, resultsOptions, poll.bind(this)),
591596
options.pollResults
@@ -1152,6 +1157,7 @@ WebPageTest.prototype = {
11521157
locations: getLocations,
11531158
testers: getTesters,
11541159
test: runTest,
1160+
testAndWait: runTestAndWait,
11551161
cancel: cancelTest,
11561162
pagespeed: getPageSpeedData,
11571163
har: getHARData,

0 commit comments

Comments
 (0)