diff --git a/test/javascripts/test_helper.js b/test/javascripts/test_helper.js index bf50d531535..1a10683e56f 100644 --- a/test/javascripts/test_helper.js +++ b/test/javascripts/test_helper.js @@ -136,8 +136,9 @@ QUnit.testStart(function(ctx) { const error = "Unhandled request in test environment: " + path + " (" + verb + ")"; + window.console.error(error); - throw error; + throw new Error(error); }; server.checkPassthrough = request =>