Skip to content

Commit

Permalink
test: ✅ fix test config
Browse files Browse the repository at this point in the history
  • Loading branch information
thkruz committed Jan 17, 2024
1 parent 670b252 commit 5e5a673
Show file tree
Hide file tree
Showing 3 changed files with 228 additions and 25 deletions.
3 changes: 2 additions & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ const jestConfig = {
transform: {
'\\.(js|ts|jsx|tsx)$': 'babel-jest',
},
transformIgnorePatterns: ['node_modules/(?!(ootk-core))'],
testMatch: ['**/test/**/?(*.)+(spec|test).?(m)[jt]s?(x)'],
moduleFileExtensions: ['js', 'mjs', 'ts'],
coverageDirectory: '<rootDir>/coverage',
moduleDirectories: ['node_modules'],
modulePathIgnorePatterns: ['<rootDir>/node_modules/', '<rootDir>/test/sgp4/sgp4prop'],
modulePathIgnorePatterns: ['<rootDir>/node_modules/'],
coverageReporters: ['lcov', 'html', 'text'],
coveragePathIgnorePatterns: ['/node_modules/', '/dist/', '/lib/', '/commonjs/', '/test/', '/scripts/', '/coverage/'],
globalSetup: '<rootDir>/test/lib/globalSetup.js',
Expand Down
249 changes: 225 additions & 24 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 @@ -44,6 +44,7 @@
"auto-changelog": "^2.4.0",
"auto-changelog-thkruz": "^1.0.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"eslint": "^8.56.0",
"eslint-plugin-jsdoc": "^48.0.2",
Expand Down

0 comments on commit 5e5a673

Please sign in to comment.