metaltest/reporter/errorreporter.js

14 lines
228 B
JavaScript

import { showError } from './showError.js'
const errorreporter = () => {
const report = {
end: (stats) => {
const { testFail } = stats
showError(testFail)
}
}
return report
}
export { errorreporter }