Skip to content
Merged
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
2,911 changes: 1,582 additions & 1,329 deletions package-lock.json

Large diffs are not rendered by default.

41 changes: 20 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
},
"dependencies": {
"@emotion/styled": "^11.14.1",
"@mui/icons-material": "^7.3.10",
"@mui/material": "^7.3.10",
"@mui/system": "^7.3.10",
"@mui/icons-material": "^7.3.11",
"@mui/material": "^7.3.11",
"@mui/system": "^7.3.11",
"@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 @@ -33,12 +33,11 @@
"moize": "^6.1.7",
"notistack": "^3.0.2",
"process": "^0.11.10",
"react": "^19.2.5",
"react-chartjs-2": "^5.3.1",
"react-dom": "^19.2.5",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"react-redux": "^9.2.0",
"react-router": "^7.14.1",
"react-virtuoso": "^4.18.4",
"react-router": "^7.15.0",
"react-virtuoso": "^4.18.6",
"stream-browserify": "^3.0.0",
"taskcluster-client-web": "^87.1.3",
"taskcluster-lib-scopes": "^11.0.0",
Expand Down Expand Up @@ -83,14 +82,14 @@
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/plugin-transform-runtime": "^7.29.0",
"@babel/preset-env": "^7.29.2",
"@babel/preset-env": "^7.29.5",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@babel/runtime": "^7.29.2",
"@eslint/js": "^9.39.4",
"@fetch-mock/jest": "^0.2.20",
"@jest/types": "^30.3.0",
"@swc/core": "^1.15.21",
"@jest/types": "^30.4.1",
"@swc/core": "^1.15.30",
"@swc/jest": "^0.2.39",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
Expand All @@ -103,7 +102,7 @@
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"babel-loader": "^10.1.1",
"babel-preset-jest": "^30.3.0",
"babel-preset-jest": "^30.4.0",
"case-sensitive-paths-webpack-plugin": "^2.4.0",
"copy-webpack-plugin": "^13.0.1",
"core-js": "^3.49.0",
Expand All @@ -112,17 +111,17 @@
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest": "^29.15.1",
"eslint-plugin-jest": "^29.15.2",
"eslint-plugin-jest-dom": "^5.5.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-testing-library": "^7.16.2",
"globals": "^17.5.0",
"globals": "^17.6.0",
"history": "^5.3.0",
"html-webpack-plugin": "^5.6.6",
"jest": "^30.3.0",
"html-webpack-plugin": "^5.6.7",
"jest": "^30.4.2",
"jest-axe": "^10.0.0",
"jest-environment-jsdom": "^30.3.0",
"jest-resolve": "^30.3.0",
"jest-environment-jsdom": "^30.4.1",
"jest-resolve": "^30.4.1",
"npm-run-all2": "^8.0.4",
"prettier": "3.7.4",
"react-app-polyfill": "^3.0.0",
Expand All @@ -133,10 +132,10 @@
"ts-loader": "^9.5.7",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.57.2",
"typescript-eslint": "^8.59.1",
"webpack": "^5.106.2",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.3",
"webpack-dev-server": "^5.2.4",
"webpack-merge": "^6.0.1"
}
}
2 changes: 1 addition & 1 deletion src/__tests__/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ describe('App', () => {

render(<App />);

const darkModeButton = screen.getByRole('checkbox', {
const darkModeButton = screen.getByRole('switch', {
name: /Dark mode switch/,
});

Expand Down
Loading
Loading