re-organize

pull/2305/head
Tuğçe Küçükoğlu 2022-03-07 09:31:39 +03:00 committed by Tuğçe Küçükoğlu
parent 33f6caa53b
commit b6eec4ded2
9 changed files with 5 additions and 18 deletions

View File

@ -13,16 +13,5 @@ module.exports = {
rules: { rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off' 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
},
"overrides": [
{
"files": [
"**/__tests__/*.{j,t}s?(x)",
"**/tests/unit/**/*.spec.{j,t}s?(x)"
],
"env": {
"jest": true
} }
} }
]
}

View File

@ -26,5 +26,8 @@ module.exports = {
"^primevue/overlayeventbus(.*)$": "<rootDir>/src/components/overlayeventbus/OverlayEventBus.js", "^primevue/overlayeventbus(.*)$": "<rootDir>/src/components/overlayeventbus/OverlayEventBus.js",
"^primevue/terminalservice(.*)$": "<rootDir>/src/components/terminalservice/TerminalService.js", "^primevue/terminalservice(.*)$": "<rootDir>/src/components/terminalservice/TerminalService.js",
"^primevue/virtualscroller(.*)$": "<rootDir>/src/components/virtualscroller/VirtualScroller.vue" "^primevue/virtualscroller(.*)$": "<rootDir>/src/components/virtualscroller/VirtualScroller.vue"
} },
testMatch: [
"**/src/components/**/*.spec.{j,t}s?(x)"
]
} }

View File

@ -1,5 +0,0 @@
module.exports = {
env: {
jest: true
}
}