mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 03:06:53 +08:00
DEV: logs tests exception when running qunit on headless chrome (#7553)
This commit is contained in:
@ -53,6 +53,10 @@ async function runAllTests() {
|
|||||||
|
|
||||||
await Promise.all([Page.enable(), Runtime.enable()]);
|
await Promise.all([Page.enable(), Runtime.enable()]);
|
||||||
|
|
||||||
|
Runtime.exceptionThrown(exceptionInfo => {
|
||||||
|
console.log(exceptionInfo.exceptionDetails.exception.description);
|
||||||
|
});
|
||||||
|
|
||||||
Runtime.consoleAPICalled(response => {
|
Runtime.consoleAPICalled(response => {
|
||||||
const message = response["args"][0].value;
|
const message = response["args"][0].value;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user