diff --git a/lib/suite.js b/lib/suite.js index 07cc0d3..986fcf4 100644 --- a/lib/suite.js +++ b/lib/suite.js @@ -26,7 +26,7 @@ const getStackAbsolutePaths = () => { .map(filename => dirname(fileURLToPath(filename))) } -import { summaryreporter, totalreporter } from 'metaltest' +import { summaryreporter, errorreporter, totalreporter } from 'metaltest' const suite = async (folder = '.') => { const absolutePaths = getStackAbsolutePaths() const absolutePath = absolutePaths[2] @@ -47,7 +47,7 @@ const suite = async (folder = '.') => { continue } - await test.run(summaryreporter(), total) + await test.run(summaryreporter(), errorreporter(), total) } for (const file of fileIgnored) {