mirror of
https://github.com/apache/superset.git
synced 2024-09-19 20:19:37 -04:00
415ce5efd8
1. move translation, connection, query to core (#729) 2. update encodable to remove formatter inter-dependency (#744) 3. move number-format and time-format to core (#730) 4. move superset-ui/dimension to core (#732) 5. move superset-ui/color to core (#755) 6. move superset-ui/style to core (#756) 7. move superset-ui/validator to core (#757) 8. move superset-ui/chart-composition to core (#759) 9. move superset-ui/chart to core (#760)
83 lines
2.0 KiB
JavaScript
83 lines
2.0 KiB
JavaScript
module.exports = {
|
|
"bail": false,
|
|
"collectCoverageFrom": [
|
|
"**/src/**/*.{ts,tsx,js,jsx}",
|
|
"**/test/**/*.{ts,tsx,js,jsx}"
|
|
],
|
|
"coverageDirectory": "./coverage",
|
|
"coveragePathIgnorePatterns": [
|
|
"coverage/",
|
|
"node_modules/",
|
|
"public/",
|
|
"esm/",
|
|
"lib/",
|
|
"tmp/",
|
|
"dist/"
|
|
],
|
|
"coverageReporters": [
|
|
"lcov",
|
|
"json-summary",
|
|
"html"
|
|
],
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"branches": 0,
|
|
"functions": 0,
|
|
"lines": 0,
|
|
"statements": 0
|
|
}
|
|
},
|
|
"globals": {
|
|
"__DEV__": true,
|
|
"caches": true
|
|
},
|
|
"moduleFileExtensions": [
|
|
"mock.js",
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json",
|
|
"node"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^.+\\.(ttf|eot|otf|svg|woff|woff2|mp3|png|jpg|jpeg|gif|ico)$": "<rootDir>/node_modules/@airbnb/config-jest/mocks/file.js",
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
|
|
"\\.(css|less)$": "identity-obj-proxy"
|
|
},
|
|
"roots": [
|
|
"<rootDir>/packages",
|
|
"<rootDir>/plugins"
|
|
],
|
|
"setupFiles": [
|
|
"<rootDir>/node_modules/@airbnb/config-jest/setup/shims.js",
|
|
"<rootDir>/node_modules/@airbnb/config-jest/setup/console.js",
|
|
"<rootDir>/node_modules/@airbnb/config-jest/setup/dom.js"
|
|
],
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/node_modules/@airbnb/config-jest/bootstrap/react.js",
|
|
"<rootDir>/node_modules/@airbnb/config-jest/bootstrap/consumer.js",
|
|
"@airbnb/config-jest/enzyme"
|
|
],
|
|
"testEnvironment": "jsdom",
|
|
"testURL": "http://localhost",
|
|
"timers": "real",
|
|
"verbose": false,
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!(vega-lite|lodash-es))"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"packages/generator-superset/generators"
|
|
],
|
|
"projects": [
|
|
"<rootDir>",
|
|
{
|
|
"displayName": "node",
|
|
"rootDir": "<rootDir>/packages/generator-superset",
|
|
"testMatch": [
|
|
"<rootDir>/test/**/?(*.)+(spec|test).{js,jsx,ts,tsx}"
|
|
],
|
|
"testEnvironment": "node"
|
|
}
|
|
]
|
|
}; |