Make check-example.js display console logs from page
This commit is contained in:
@@ -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