forked from kryton/hue
-
Notifications
You must be signed in to change notification settings - Fork 1
/
jest.config.js
20 lines (20 loc) · 1.08 KB
/
jest.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module.exports = {
moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx'],
moduleDirectories: ['node_modules', 'desktop/core/src/desktop/js'],
modulePaths: ['desktop/core/src/desktop/js'],
testMatch: ['<rootDir>/desktop/core/src/desktop/js/**/*.test.(js|jsx|ts|tsx)'],
testEnvironment: 'jest-environment-jsdom-sixteen',
testURL: 'https://www.gethue.com/hue',
setupFilesAfterEnv: ['<rootDir>/desktop/core/src/desktop/js/jest/jest.init.js'],
watchPathIgnorePatterns: ['<rootDir>/desktop/core/src/desktop/static'],
testPathIgnorePatterns: [
'<rootDir>/desktop/core/src/desktop/js/parse/sql/ksql/test',
'<rootDir>/desktop/core/src/desktop/js/parse/sql/elasticsearch/test',
'<rootDir>/desktop/core/src/desktop/js/parse/sql/phoenix/test',
'<rootDir>/desktop/core/src/desktop/js/parse/sql/druid/test',
'<rootDir>/desktop/core/src/desktop/js/parse/sql/presto/test',
'<rootDir>/desktop/core/src/desktop/js/parse/sql/calcite/test',
'<rootDir>/desktop/core/src/desktop/js/parse/sql/flink/test',
],
collectCoverageFrom: ['<rootDir>/desktop/core/src/desktop/js/**/*.{js,jsx}']
};