mirror of
https://github.com/filegator/filegator.git
synced 2025-08-09 18:26:37 +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'
|
'jest-serializer-vue'
|
||||||
],
|
],
|
||||||
testMatch: [
|
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/'
|
testURL: 'http://localhost/'
|
||||||
}
|
}
|
||||||
|
@@ -15,10 +15,10 @@ module.exports = (on, config) => {
|
|||||||
// }))
|
// }))
|
||||||
|
|
||||||
return Object.assign({}, config, {
|
return Object.assign({}, config, {
|
||||||
fixturesFolder: 'tests/e2e/fixtures',
|
fixturesFolder: 'tests/frontend/e2e/fixtures',
|
||||||
integrationFolder: 'tests/e2e/specs',
|
integrationFolder: 'tests/frontend/e2e/specs',
|
||||||
screenshotsFolder: 'tests/e2e/screenshots',
|
screenshotsFolder: 'tests/frontend/e2e/screenshots',
|
||||||
videosFolder: 'tests/e2e/videos',
|
videosFolder: 'tests/frontend/e2e/videos',
|
||||||
supportFile: 'tests/e2e/support/index.js'
|
supportFile: 'tests/frontend/e2e/support/index.js'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user