🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

vitest-teamcity-reporter

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vitest-teamcity-reporter

A TeamCity reporter for vitest.

0.3.1
latest
Source
npm
Version published
Weekly downloads
11K
6.54%
Maintainers
0
Weekly downloads
 
Created
Source

📝 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 )

Keywords

vitest

FAQs

Package last updated on 02 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts