UNPKG

1.43 kBTypeScriptView Raw
1/** The current version of karma */
2export const VERSION: string;
3/** The default port used for the karma server */
4export const DEFAULT_PORT: string | number;
5/** The default hostname used for the karma server */
6export const DEFAULT_HOSTNAME: string;
7/** The default listen address used for the karma server */
8export const DEFAULT_LISTEN_ADDR: string;
9/** The value for disabling logs */
10export const LOG_DISABLE: "OFF";
11/** The value for the log `error` level */
12export const LOG_ERROR: "ERROR";
13/** The value for the log `warn` level */
14export const LOG_WARN: "WARN";
15/** The value for the log `info` level */
16export const LOG_INFO: "INFO";
17/** The value for the log `debug` level */
18export const LOG_DEBUG: "DEBUG";
19export const LOG_LOG: "LOG";
20/** An array of log levels in descending order, i.e. LOG_DISABLE, LOG_ERROR, LOG_WARN, LOG_LOG, LOG_INFO, and LOG_DEBUG */
21export const LOG_PRIORITIES: [
22 typeof LOG_DISABLE,
23 typeof LOG_ERROR,
24 typeof LOG_WARN,
25 typeof LOG_LOG,
26 typeof LOG_INFO,
27 typeof LOG_DEBUG,
28];
29
30/** The default color pattern for log output */
31export const COLOR_PATTERN: string;
32/** The default pattern for log output without color */
33export const NO_COLOR_PATTERN: string;
34/** The default console appender */
35export const CONSOLE_APPENDER: {
36 type: string;
37 layout: {
38 type: string;
39 pattern: string;
40 };
41};
42/** The exit code */
43export const EXIT_CODE: string;