Skip to content

Commit

Permalink
refactor(jest): support ts/tsx test files (#6684)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewgallo authored Jan 13, 2025
1 parent cfc7b39 commit 9f651fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/jest-config-ibm-cloud-cognitive/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ module.exports = {
setupFiles: [require.resolve('./setup/setupFiles.js')],
setupFilesAfterEnv: [require.resolve('./setup/setupFilesAfterEnv.js')],
testMatch: [
'<rootDir>/**/__tests__/**/*.js?(x)',
'<rootDir>/**/*.(spec|test).js?(x)',
'<rootDir>/**/*-(spec|test).js?(x)',
'<rootDir>/**/__tests__/**/*.(js|jsx|ts|tsx)?(x)',
'<rootDir>/**/*.(spec|test).(js|jsx|ts|tsx)?(x)',
'<rootDir>/**/*-(spec|test).(js|jsx|ts|tsx)?(x)',
],
transform: {
'^.+\\.(mjs|cjs|js|jsx|ts|tsx)$': require.resolve(
Expand Down

0 comments on commit 9f651fe

Please sign in to comment.