mirror of
https://github.com/filegator/filegator.git
synced 2025-08-11 04:54:22 +02:00
front tests setup
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"pluginsFile": "tests/e2e/plugins/index.js"
|
||||
"pluginsFile": "tests/frontend/e2e/plugins/index.js"
|
||||
}
|
||||
|
@@ -20,7 +20,7 @@ module.exports = {
|
||||
'jest-serializer-vue'
|
||||
],
|
||||
testMatch: [
|
||||
'**/tests/backend/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)'
|
||||
'**/tests/frontend/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)'
|
||||
],
|
||||
testURL: 'http://localhost/'
|
||||
}
|
||||
|
@@ -15,10 +15,10 @@ module.exports = (on, config) => {
|
||||
// }))
|
||||
|
||||
return Object.assign({}, config, {
|
||||
fixturesFolder: 'tests/e2e/fixtures',
|
||||
integrationFolder: 'tests/e2e/specs',
|
||||
screenshotsFolder: 'tests/e2e/screenshots',
|
||||
videosFolder: 'tests/e2e/videos',
|
||||
supportFile: 'tests/e2e/support/index.js'
|
||||
fixturesFolder: 'tests/frontend/e2e/fixtures',
|
||||
integrationFolder: 'tests/frontend/e2e/specs',
|
||||
screenshotsFolder: 'tests/frontend/e2e/screenshots',
|
||||
videosFolder: 'tests/frontend/e2e/videos',
|
||||
supportFile: 'tests/frontend/e2e/support/index.js'
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user