Skip to content

Commit

Permalink
Merge pull request #433 from ant-media/moveToProps
Browse files Browse the repository at this point in the history
Reduce conference context usage and move to the prompt drilling
  • Loading branch information
burak-58 authored Jan 2, 2025
2 parents 5ab41ea + b10cbf5 commit 1f3cd13
Show file tree
Hide file tree
Showing 81 changed files with 2,847 additions and 24,856 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
codesigning.asc
.DS_Store
webapp/src/main/webapp/
webapp/src/main/webapp/static/
.vscode/

react/.env.development
Expand Down
45 changes: 24 additions & 21 deletions react/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,31 +1,34 @@
module.exports = {
collectCoverage: true,
coverageReporters: ["json", "lcov", "text", "clover"],
collectCoverageFrom: ['src/Components/*.js','src/pages/*.js'],
collectCoverageFrom: [
'src/Components/**/*.{js,jsx,ts,tsx}', // Include subdirectories and multiple extensions
'src/pages/**/*.{js,jsx,ts,tsx}', // Same for 'pages' directory
],
coverageDirectory: 'coverage',
testEnvironment: 'jest-fixed-jsdom',
setupFiles: ['<rootDir>/.jest/setEnvVars.js'],
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
moduleNameMapper:{
moduleNameMapper: {
"\\.(css|less|sass|scss)$": "<rootDir>/src/__mocks__/styleMock.js",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/__mocks__/fileMock.js"
},
//changedSince:'origin/main',
/*
coverageThreshold: {
global: {
branches: 70,
functions: 70,
lines: 70,
statements: -10,
},
},
*/
moduleDirectories: [
"node_modules",
"src"
],
transformIgnorePatterns: [
"node_modules/(?!@ngrx|(?!deck.gl)|ng-dynamic)"
]
};
// Uncomment if needed for coverage thresholds
/*
coverageThreshold: {
global: {
branches: 70,
functions: 70,
lines: 70,
statements: -10,
},
},
*/
moduleDirectories: [
"node_modules",
"src"
],
transformIgnorePatterns: [
"node_modules/(?!@ngrx|(?!deck.gl)|ng-dynamic)"
],
};
Loading

0 comments on commit 1f3cd13

Please sign in to comment.