[FIX] phantomjs test: `phantom` variable is undefined inside page.

This commit is contained in:
Christophe Simonis 2015-08-06 17:20:37 +02:00
parent fa1842cb1d
commit d8d9c7277e
1 changed files with 1 additions and 1 deletions

View File

@ -93,8 +93,8 @@ function PhantomTest() {
"\nreferrer: " + document.referrer +
"\n\n" + (document.body && document.body.innerHTML)).replace(/[^a-z0-9\s~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi, "*");
console.log('error', message);
phantom.exit(1);
});
phantom.exit(1);
}, self.timeout);
// ----------------------------------------------------