DEV: Throw an error instead of a string.

DEV: Throw an error instead of a string.

diff --git a/test/javascripts/test_helper.js b/test/javascripts/test_helper.js
index bf50d53..1a10683 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 =>

GitHub sha: cff57c18