Skip to main content

jestConfig

const jestConfig: {
collectCoverageFrom: string[];
coverageDirectory: string;
coverageReporters: string[];
coverageThreshold: {
};
globals: {
__webpack_public_path__: string;
APP_CONFIG: string | NonSharedBuffer;
};
moduleDirectories: string[];
moduleFileExtensions: string[];
moduleNameMapper: {
.*\.(css|scss)$: string;
.*\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$: string;
.*\.html(?:\?[a-zA-Z]+)?$: string;
.*\.svg(?:\?[a-zA-Z]+)?$: string;
.*\webpack-hmr(.[t|j]s)?$: string;
.*frame\.html(?:\?[a-zA-Z]+)?$: string;
.*iframe\.html(?:\?[a-zA-Z]+)?$: string;
@elliemae/pui-app-loader: string;
@elliemae/pui-diagnostics: string;
@elliemae/pui-logrocket: string;
@elliemae/pui-user-monitoring: string;
^d3-(.*)$: string;
d3: string;
react-spring/renderprops: string;
react-spring/web: string;
};
resolver: string;
setupFiles: string[];
setupFilesAfterEnv: string[];
snapshotSerializers: never[];
testEnvironment: string;
testEnvironmentOptions: {
resources: string;
url: string;
};
testRegex: string;
testResultsProcessor: string;
testTimeout: number;
transform: {
^.+\.[jt]sx?$: any[];
};
transformIgnorePatterns: string[];
watchPlugins: string[];
};

Type Declaration

collectCoverageFrom

collectCoverageFrom: string[];

coverageDirectory

coverageDirectory: string = 'reports';

coverageReporters

coverageReporters: string[];

coverageThreshold

coverageThreshold: {
} = {};

globals

globals: {
__webpack_public_path__: string;
APP_CONFIG: string | NonSharedBuffer;
};

globals.__webpack_public_path__

__webpack_public_path__: string = '/';

globals.APP_CONFIG

APP_CONFIG: string | NonSharedBuffer;

moduleDirectories

moduleDirectories: string[];

moduleFileExtensions

moduleFileExtensions: string[];

moduleNameMapper

moduleNameMapper: {
.*\.(css|scss)$: string;
.*\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$: string;
.*\.html(?:\?[a-zA-Z]+)?$: string;
.*\.svg(?:\?[a-zA-Z]+)?$: string;
.*\webpack-hmr(.[t|j]s)?$: string;
.*frame\.html(?:\?[a-zA-Z]+)?$: string;
.*iframe\.html(?:\?[a-zA-Z]+)?$: string;
@elliemae/pui-app-loader: string;
@elliemae/pui-diagnostics: string;
@elliemae/pui-logrocket: string;
@elliemae/pui-user-monitoring: string;
^d3-(.*)$: string;
d3: string;
react-spring/renderprops: string;
react-spring/web: string;
};

moduleNameMapper..*.(css|scss)$

.*\.(css|scss)$: string;

moduleNameMapper..*.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$

.*\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$: string;

moduleNameMapper..*.html(?:?[a-zA-Z]+)?$

.*\.html(?:\?[a-zA-Z]+)?$: string;

moduleNameMapper..*.svg(?:?[a-zA-Z]+)?$

.*\.svg(?:\?[a-zA-Z]+)?$: string;

moduleNameMapper..*\webpack-hmr(.[t|j]s)?$

.*\webpack-hmr(.[t|j]s)?$: string;

moduleNameMapper..*frame.html(?:?[a-zA-Z]+)?$

.*frame\.html(?:\?[a-zA-Z]+)?$: string;

moduleNameMapper..*iframe.html(?:?[a-zA-Z]+)?$

.*iframe\.html(?:\?[a-zA-Z]+)?$: string;

moduleNameMapper.@elliemae/pui-app-loader

@elliemae/pui-app-loader: string;

moduleNameMapper.@elliemae/pui-diagnostics

@elliemae/pui-diagnostics: string;

moduleNameMapper.@elliemae/pui-logrocket

@elliemae/pui-logrocket: string;

moduleNameMapper.@elliemae/pui-user-monitoring

@elliemae/pui-user-monitoring: string;

moduleNameMapper.^d3-(.*)$

^d3-(.*)$: string = '<rootDir>/node_modules/d3-$1/dist/d3-$1.min.js';

moduleNameMapper.d3

d3: string = '<rootDir>/node_modules/d3/dist/d3.min.js';

moduleNameMapper.react-spring/renderprops

react-spring/renderprops: string;

moduleNameMapper.react-spring/web

react-spring/web: string;

resolver

resolver: string;

setupFiles

setupFiles: string[];

setupFilesAfterEnv

setupFilesAfterEnv: string[];

snapshotSerializers

snapshotSerializers: never[] = [];

testEnvironment

testEnvironment: string = 'jsdom';

testEnvironmentOptions

testEnvironmentOptions: {
resources: string;
url: string;
};

testEnvironmentOptions.resources

resources: string = 'usable';

testEnvironmentOptions.url

url: string;

testRegex

testRegex: string = '(app|lib).*/tests/.*\.test\.[jt]sx?$';

testResultsProcessor

testResultsProcessor: string = 'jest-sonar-reporter';

testTimeout

testTimeout: number = 5000;

transform

transform: {
^.+\.[jt]sx?$: any[];
};

transform.^.+.[jt]sx?$

^.+\.[jt]sx?$: any[];

transformIgnorePatterns

transformIgnorePatterns: string[];

watchPlugins

watchPlugins: string[];