Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Te report refactor 2 #1861

Merged
merged 17 commits into from
Dec 19, 2024
Merged
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ build/
prod.env
xids.csv
preprod.env
.venv
1 change: 1 addition & 0 deletions client-report/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ const config = {

// Whether to use watchman for file crawling
// watchman: true,
setupFilesAfterEnv: ["<rootDir>/setupTests.js"]
};

module.exports = config;
90 changes: 90 additions & 0 deletions client-report/package-lock.json

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

2 changes: 2 additions & 0 deletions client-report/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"@babel/preset-react": "~7.18.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"babel-jest": "^29.7.0",
"babel-loader": "~9.1.2",
"compression-webpack-plugin": "^10.0.0",
Expand All @@ -32,6 +33,7 @@
"html-webpack-plugin": "^5.5.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"mini-css-extract-plugin": "^2.7.6",
"webpack": "~5.88.0",
"webpack-cli": "~5.1.4",
Expand Down
5 changes: 5 additions & 0 deletions client-report/setupTests.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// import fetch from 'node-fetch';
import '@testing-library/jest-dom';
import fetchMock from 'jest-fetch-mock';

fetchMock.enableMocks();
Loading
Loading