UNPKG

spec-link

Version:

A library for managing test specifications and integrations with test management tools

15 lines (12 loc) 463 B
// src/reporters/consoleReporter.ts import { ScanResult } from '../types/types'; export function reportToConsole(results: ScanResult[]): void { results.forEach((result) => { console.log(`File: ${result.filePath}`); Object.entries(result.groupedTests).forEach(([describe, tests]) => { console.log(` Describe: ${describe}`); tests.forEach((test) => console.log(` Test without Qase ID: ${test}`)); }); console.log('---'); }); }