Skip to content

Commit

Permalink
tests(#285): Add Unit Tests for makeProps
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianWendelborn committed Sep 24, 2021
1 parent 37d0a51 commit 62670f1
Show file tree
Hide file tree
Showing 5 changed files with 465 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ module.exports = {
plugins: ['jest'],
extends: ['plugin:jest/recommended'],
rules: {
'sonarjs/no-duplicate-string': 'off',
'no-console': 'off',
'import/order': [
'warn',
{
Expand All @@ -83,6 +81,9 @@ module.exports = {
'newlines-between': 'always',
},
],
'no-console': 'off',
'sonarjs/no-duplicate-string': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
moduleFileExtensions: ['js', 'json', 'ts', 'vue', 'tsx', 'jsx'],
preset: 'ts-jest',
testEnvironment: 'node',
testRegex: 'tests.ts',
testRegex: '(.*.test.ts)|(tests.ts)',
transform: {
'.*\\.(vue)$': 'vue-jest',
'^.+\\.tsx?$': 'ts-jest',
Expand Down
1 change: 1 addition & 0 deletions packages/kotti-ui/.unimportedrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"extensions": [".js", ".jsx", ".ts", ".tsx", ".vue"],
"ignorePatterns": ["**/node_modules/**", "**/dist/**"],
"ignoreUnimported": [
"**/*.test.ts",
"**/tests.ts",
"**/*.d.ts",
"**/tokens/**",
Expand Down

0 comments on commit 62670f1

Please sign in to comment.