mirror of
https://github.com/apache/superset.git
synced 2026-04-13 21:24:28 +00:00
* build: inline cached-dependencies to unblock CI * Run E2E on pull_request on;y * Inline all external actions * Checkout needed for internal actions Also fixes pre-commit * Add missing files
30 lines
591 B
JavaScript
30 lines
591 B
JavaScript
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: "node",
|
|
testRunner: 'jest-circus/runner',
|
|
testMatch: ['**/*.test.ts'],
|
|
testPathIgnorePatterns: ['/src/tests/integration.test.ts'],
|
|
clearMocks: true,
|
|
collectCoverage: false,
|
|
coverageThreshold: {
|
|
global: {
|
|
branches: 50,
|
|
functions: 70,
|
|
lines: 75,
|
|
statements: 75
|
|
},
|
|
'./src/*.ts': {
|
|
branches: 70,
|
|
functions: 85,
|
|
lines: 85,
|
|
statements: 85
|
|
},
|
|
'./src/tests/**/*.ts': {
|
|
branches: 50,
|
|
functions: 60,
|
|
lines: 65,
|
|
statements: 65
|
|
}
|
|
}
|
|
}
|