vitest-teamcity-reporter
v0.3.1
Published
A TeamCity reporter for vitest.
Downloads
24,151
Readme
📝 vitest-teamcity-reporter
💿 Installation
pnpm install -D vitest-teamcity-reporter
npm install -D vitest-teamcity-reporter
🔧 Configuration
Add new custom reporter vite.config.ts
import {defineConfig} from 'vitest/config';
export default defineConfig({
test: {
// path to reporter
reporters: 'vitest-teamcity-reporter',
},
// optionaly config
coverage: {
// enable "Reporting Build Statistics"
reporter: ['teamcity'],
}
});
Reporting Build Statistics
For enabling "Reporting Build Statistics" for TeamCity you may add a "teamcity" coverage reporter that is the default provided by vitest ( vitest doc, istanbul doc )