Skip to content

Commit

Permalink
fixed valueSelected console error
Browse files Browse the repository at this point in the history
  • Loading branch information
ayush-AI committed Jun 28, 2023
1 parent 1d45382 commit d1d9a20
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions jest.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"transform": {
"^.+\\.tsx?$": "@swc/jest"
},
"transformIgnorePatterns": [
"/node_modules/(?!@openmrs)"
],
"moduleNameMapper": {
"\\.(s?css)$": "identity-obj-proxy",
"@openmrs/esm-framework": "@openmrs/esm-framework/mock",
"^lodash-es/(.*)$": "lodash/$1"
},
"collectCoverageFrom": [
"**/packages/**/*.tsx",
"!**/node_modules/**",
"!**/vendor/**",
"!**/src/**/*.test.*",
"!**/src/declarations.d.tsx",
"!**/e2e/**"
],
"coverageThreshold": {
"global": {
"statements": 8,
"branches": 5,
"functions": 7,
"lines": 8
}
},
"setupFilesAfterEnv": [
"<rootDir>/tools/setupTests.ts"
],
"testEnvironment": "jsdom",
"testEnvironmentOptions": {
"url": "http://localhost/"
},
"resolver": "<rootDir>/jest-resolver.js",
"testPathIgnorePatterns" : [
"<rootDir>/e2e"
]
}

0 comments on commit d1d9a20

Please sign in to comment.