Skip to content

Commit

Permalink
chore: 100% TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
jfgreffier committed Sep 24, 2024
1 parent a1fd9e0 commit f46a5e6
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 2 deletions.
8 changes: 6 additions & 2 deletions jest.config.js → jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
/** @type {import('ts-jest').JestConfigWithTsJest} **/
module.exports = {
import type { JestConfigWithTsJest } from 'ts-jest';

const config: JestConfigWithTsJest = {
testEnvironment: 'node',

rootDir: 'src',
testPathIgnorePatterns: ['<rootDir>.*/files/'],
transform: {
'^.+.ts$': ['ts-jest', {}],
},
};

export default config;
164 changes: 164 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"cpy-cli": "^5.0.0",
"jest": "^29.7.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.5.3"
},
"dependencies": {
Expand Down

0 comments on commit f46a5e6

Please sign in to comment.