Show errors when running a suite of test
parent
7404ce12a0
commit
898d3a7abc
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue