-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.d.ts
30 lines (28 loc) · 829 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import 'karma';
export interface SonarqubeReporterConfiguration {
/** test files folder */
basePath: string;
/** test files glob pattern */
filePattern: string;
/** test files encoding */
encoding: string;
/** report destination */
outputFolder: string;
/** report for Sonarqube < 6.2 (disabled) */
legacyMode?: boolean;
/**
* report name callback, accepts also a string to generate a single file
*
* Report metadata array:
* - metadata[0] = browser name
* - metadata[1] = browser version
* - metadata[2] = platform name
* - metadata[3] = platform version
*/
reportName: ((metadata: string[]) => string) | string;
}
declare module 'karma' {
interface ConfigOptions {
sonarqubeReporter?: SonarqubeReporterConfiguration;
}
}