Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = {
'keyword-spacing': 'error',
'no-trailing-spaces': 'error',
'space-before-function-paren': ['error', {'named': 'never'}],
'react/display-name': 'warn',
'react/display-name': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
1.8.2 (March 17, 2023)
1.8.2 (April 3, 2023)
- Updated linter dependencies and rules. The deprecated TSLint package was replaced by ESLint.
- Updated some transitive dependencies for vulnerability fixes.
- Updated @splitsoftware/splitio package to version 10.22.4 that includes minor improvements.
Expand Down
12 changes: 8 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,18 @@ module.exports = {

testEnvironment: 'jsdom',

setupFilesAfterEnv: ['./setupTests.js'],
globals: {
'ts-jest': {
tsconfig: 'tsconfig.jest.json',
}
},

// Test files are .js, .jsx, .ts and .tsx files inside of __tests__ folders and with a suffix of .test or .spec
testMatch: [ "**/__tests__/**/?(*.)+(spec|test).[jt]s?(x)" ],
testMatch: ['**/__tests__/**/?(*.)+(spec|test).[jt]s?(x)'],

// Included files for test coverage (npm run test:coverage)
collectCoverageFrom: [
"src/**/*.{js,jsx,ts,tsx}",
"!src/__tests__/**",
'src/**/*.{js,jsx,ts,tsx}',
'!src/__tests__/**',
]
};
Loading