Skip to content

Commit

Permalink
removed 14x and cjs/mjs/js from ts-jest transform
Browse files Browse the repository at this point in the history
  • Loading branch information
nktnet committed Oct 21, 2023
1 parent e63b160 commit 4a8f017
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 16.x, 14.x]
node-version: [18.x, 16.x]
fail-fast: true

steps:
Expand Down
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const config: Config = {
detectOpenHandles: true,
testMatch: ['**/*.test.js', '**/*.test.cjs', '**/*.test.mjs', '**/*.test.ts'],
transform: {
'^.+\\.(ts|mjs|js|cjs)$': 'ts-jest',
'^.+\\.(ts)$': 'ts-jest',
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node', 'cjs', 'mjs'],
collectCoverageFrom: ['src/**/*.ts'],
Expand Down

0 comments on commit 4a8f017

Please sign in to comment.