Description: fix test
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2024-01-03

--- a/scripts/test-run.sh
+++ b/scripts/test-run.sh
@@ -3,6 +3,8 @@
 
 echo 'Initiating test script.'
 
+set -e
+
 mocha -r tsconfig-paths/register \
     -r jsdom-global/register \
     --timeout 200000 \
--- a/tsconfig.test.json
+++ b/tsconfig.test.json
@@ -5,7 +5,7 @@
       "module": "commonjs",
       "moduleResolution": "node",
       "lib": [
-        "es7",
+        "esnext",
         "dom"
       ],
       "outDir": "output/tests"
