Skip to content

Commit 3dc99c8

Browse files
committed
[workflow/test] Updated the jest config file for testing
1 parent 3786b18 commit 3dc99c8

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

.sonarlint/Ffi_staticLib.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"sonarCloudOrganization": "material-elements",
3+
"projectKey": "material-elements_react-native-material-elements",
4+
"region": "EU"
5+
}

jest.config.js

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,27 +24,17 @@ module.exports = {
2424

2525
coverageReporters: ['html', 'text', 'lcov', 'text-summary'],
2626

27-
moduleFileExtensions: [
28-
'ts',
29-
'tsx',
30-
'js',
31-
'jsx',
32-
'json',
33-
'node',
34-
'mjs',
35-
'svg',
36-
'png',
37-
],
27+
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node', 'mjs', 'svg', 'png'],
3828
testEnvironment: 'node',
3929

4030
setupFiles: ['./jest.setup.ts'],
4131

4232
coverageThreshold: {
4333
global: {
44-
branches: 80,
34+
statements: 80,
35+
branches: 70,
4536
functions: 80,
4637
lines: 80,
47-
statements: 80,
4838
},
4939
},
5040
};

0 commit comments

Comments
 (0)