Show errors when running a suite of test

master
Frédéric Matte 2022-12-06 20:46:14 -05:00
parent 7404ce12a0
commit 898d3a7abc
1 changed files with 2 additions and 2 deletions

View File

@ -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) {