From 05dbd28c1dcac7262c91c47afb4ebde52630d7a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Matte?= Date: Wed, 7 Dec 2022 19:28:12 -0500 Subject: [PATCH] Show error when running test --- lib/stackparser.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/stackparser.test.js b/lib/stackparser.test.js index c7f98da..577ff78 100644 --- a/lib/stackparser.test.js +++ b/lib/stackparser.test.js @@ -22,5 +22,5 @@ test('Diff', () => { } }) -import { runifmain, summaryreporter } from '../index.js' -await runifmain(import.meta, () => test.run(summaryreporter())) +import { runifmain, summaryreporter, errorreporter } from '../index.js' +await runifmain(import.meta, () => test.run(summaryreporter(), errorreporter()))