Make check-example.js display console logs from page
This commit is contained in:
1 parent
c974612cc5
commit
18d292edd7
1 file changed
+3
@@ -28,3 +28,6 @@ page.open(examplePath, function(s) {
|
||||
}
|
||||
phantom.exit(exitCode);
|
||||
});
|
||||
page.onConsoleMessage = function(msg) {
|
||||
console.log('console:', msg);
|
||||
};
|
||||
Reference in new issue
Block a user