@vizzly-testing/cli
Version:
Visual review platform for UI developers and designers
26 lines (25 loc) • 553 B
TypeScript
export function loadConfig(configPath?: any, cliOverrides?: {}): Promise<{
server: {
port: number;
timeout: number;
screenshotPath: string;
};
build: {
name: string;
environment: string;
};
upload: {
screenshotsDir: string;
batchSize: number;
timeout: number;
};
comparison: {
threshold: number;
};
tdd: {
openReport: boolean;
};
apiKey: string;
apiUrl: string;
}>;
export function getScreenshotPaths(config: any): string[];