Skip to content

Commit

Permalink
37526 - forced tests to ignore constants
Browse files Browse the repository at this point in the history
  • Loading branch information
LiudmylaMasliuk committed Dec 5, 2024
1 parent 32c7221 commit dbc3d5e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions paypal-commercetools-extension/jest.config.cjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
module.exports = {
displayName: 'Tests Typescript Application - paypal-commercetools-extension',
setupFiles: ["<rootDir>/tests/setup-tests.ts"],
setupFiles: ['<rootDir>/tests/setup-tests.ts'],
moduleDirectories: ['node_modules', 'src'],
testMatch: ['**/tests/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)'],
testPathIgnorePatterns: ['<rootDir>/tests/setup-tests.ts'],
testPathIgnorePatterns: ['<rootDir>/tests/setup-tests.ts', 'constants.ts'],
preset: 'ts-jest',
testEnvironment: 'node',
"collectCoverageFrom": [
"src/{!(paypal),}/*"
]
collectCoverageFrom: ['src/{!(paypal),}/*'],
};

0 comments on commit dbc3d5e

Please sign in to comment.