@alphabin/trx
Version:
TRX reporter for Playwright tests with Azure Blob Storage upload support
30 lines (29 loc) • 606 B
TypeScript
import { SystemMetadata } from '../types';
/**
* Collector for system metadata
*/
export declare class SystemCollector {
/**
* Collects system metadata
*/
collect(): Promise<Partial<SystemMetadata & {
os?: string;
nodejs?: string;
playwright?: string;
browser?: string;
browserVersion?: string;
}>>;
/**
* Gets the hostname
*/
private getHostname;
/**
* Gets CPU information
*/
private getCpuInfo;
/**
* Gets memory information
*/
private getMemoryInfo;
}
export default SystemCollector;