vitest/test/reporters/custom-reporter.vitest.config.ts
Eric Gagnon f2bceb2c28
feat: added support for passing a path to a custom reporter when usin… (#1136)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-04-25 14:05:45 +00:00

10 lines
222 B
TypeScript

import { defineConfig } from 'vitest/config'
import TestReporter from './src/custom-reporter'
export default defineConfig({
test: {
include: ['tests/reporters.spec.ts'],
reporters: [new TestReporter()],
},
})