-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #433 from ant-media/moveToProps
Reduce conference context usage and move to the prompt drilling
- Loading branch information
Showing
81 changed files
with
2,847 additions
and
24,856 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)" | ||
], | ||
}; |
Oops, something went wrong.