import { showError } from "./showError.js" const totalerrorreporter = () => { const testFails = [] const report = { end: (stats) => testFails.push(...stats.testFail), msg: () => { showError(testFails) }, } return report } export { totalerrorreporter }