Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,16 @@ import type { Config } from '@jest/types';
const config: Config.InitialOptions = {
roots: ['<rootDir>/src'],
collectCoverageFrom: ['src/**/*.{js,ts,tsx}', '!src/**/*.d.ts'],
coveragePathIgnorePatterns: ['__tests__', 'index', 'resources', 'styles'],
coveragePathIgnorePatterns: [
'__tests__',
'index',
'resources',
'styles',
// Pure-math helpers exercised indirectly by the chart code; not worth
// the ceremony of unit-testing the numerical routines themselves.
'src/utils/bootstrap-ci\\.[jt]s',
'src/utils/kde\\.js',
],
setupFiles: ['react-app-polyfill/jsdom'],
setupFilesAfterEnv: ['<rootDir>/src/__tests__/utils/setupTests.ts'],
testPathIgnorePatterns: ['/node_modules/', '<rootDir>/src/__tests__/utils/'],
Expand Down
125 changes: 63 additions & 62 deletions package-lock.json

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

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"@reduxjs/toolkit": "^2.11.2",
"assert": "^2.1.0",
"buffer": "^6.0.3",
"chart.js": "^4.5.1",
"crypto-browserify": "^3.12.1",
"dayjs": "^1.11.20",
"echarts": "^6.0.0",
"express": "^5.2.1",
"fast-kde": "^0.2.2",
"format": "^0.2.2",
Expand All @@ -34,7 +34,6 @@
"notistack": "^3.0.2",
"process": "^0.11.10",
"react": "^19.2.5",
"react-chartjs-2": "^5.3.1",
"react-dom": "^19.2.5",
"react-redux": "^9.2.0",
"react-router": "^7.14.1",
Expand Down
Loading