DEV: logs tests exception when running qunit on headless chrome (#7553)
This commit is contained in:
parent
a36fe019bb
commit
ea214b2b0c
|
@ -53,6 +53,10 @@ async function runAllTests() {
|
|||
|
||||
await Promise.all([Page.enable(), Runtime.enable()]);
|
||||
|
||||
Runtime.exceptionThrown(exceptionInfo => {
|
||||
console.log(exceptionInfo.exceptionDetails.exception.description);
|
||||
});
|
||||
|
||||
Runtime.consoleAPICalled(response => {
|
||||
const message = response["args"][0].value;
|
||||
|
||||
|
|
Loading…
Reference in New Issue