Skip to content

Commit

Permalink
chore: 🔧 exclude dist
Browse files Browse the repository at this point in the history
Updated tsconfig and jest config to exclude the dist folder
  • Loading branch information
andrewdyer committed Aug 6, 2024
1 parent f2dc739 commit 14e4772
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ module.exports = {
]
},
testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
setupFilesAfterEnv: ['./jest.setup.ts']
setupFilesAfterEnv: ['./jest.setup.ts'],
testPathIgnorePatterns: ['/node_modules/', '/dist/']
};
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"types": ["jest", "@testing-library/jest-dom"]
},
"include": ["src"],
"exclude": ["**/*.stories.tsx", "**/*.test.tsx"]
"exclude": ["**/*.stories.tsx", "**/*.test.tsx", "dist"]
}

0 comments on commit 14e4772

Please sign in to comment.