Skip to content

Commit

Permalink
show better error messages in jest (firefox-devtools#4558)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonLaster authored and Johnny Khalil committed Nov 12, 2017
1 parent 3c3efcf commit f363b80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/tests-setup.js
Expand Up @@ -25,3 +25,7 @@ global.L10N = require("devtools-launchpad").L10N;
global.L10N.setBundle(readFileSync("./assets/panel/debugger.properties"));

setConfig(config);

process.on("unhandledRejection", (reason, p) => {
console.log("Unhandled Rejection at:", p, "reason:", reason);
});

0 comments on commit f363b80

Please sign in to comment.