Skip to content

Commit

Permalink
fix: double quotes in jest.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
alichherawalla committed Apr 15, 2024
1 parent 5fa82c2 commit 830ac07
Showing 1 changed file with 15 additions and 20 deletions.
35 changes: 15 additions & 20 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ module.exports = {
'!app/app.js',
'!app/global-styles.js',
'!app/*/*/Loadable.{js,jsx}',
'!**/coverage/**',
'!**/coverage/**'
],
"reporters": [
"default",
reporters: [
'default',
[
"jest-sonar",
'jest-sonar',
{
"outputDirectory": "reports",
"outputName": "test-report.xml",
"relativeRootDir": "./",
"reportedFilePath": "relative"
outputDirectory: 'reports',
outputName: 'test-report.xml',
relativeRootDir: './',
reportedFilePath: 'relative'
}
]
],
Expand All @@ -26,23 +26,18 @@ module.exports = {
statements: 50,
branches: 50,
functions: 50,
lines: 50,
},
lines: 50
}
},
preset: 'react-native',
moduleDirectories: ['node_modules', 'app'],
moduleNameMapper: {
'@app(.*)$': '<rootDir>/app/$1',
'@(atoms|molecules|organisms)(.*)$': '<rootDir>/app/components/$1/$2',
'@(containers|components|services|utils|themes|scenes|navigators)(.*)$': '<rootDir>/app/$1/$2'
'@(containers|components|services|utils|themes|scenes|navigators)(.*)$':
'<rootDir>/app/$1/$2'
},
"setupFiles": [
"./node_modules/react-native-gesture-handler/jestSetup.js"
],
"setupFilesAfterEnv": [
"./setupTests.js"
],
"transformIgnorePatterns": [
"/node_modules/(?!react-native)/.+"
]
setupFiles: ['./node_modules/react-native-gesture-handler/jestSetup.js'],
setupFilesAfterEnv: ['./setupTests.js'],
transformIgnorePatterns: ['/node_modules/(?!react-native)/.+']
};

0 comments on commit 830ac07

Please sign in to comment.