mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 08:06:43 +08:00
test(subscribe): cover list management workflows (#535)
This commit is contained in:
@@ -268,6 +268,7 @@ export default defineConfig(({ mode }) => ({
|
||||
},
|
||||
},
|
||||
setupFiles: ['./tests/setup.ts'],
|
||||
testTimeout: 60_000,
|
||||
unstubGlobals: true,
|
||||
coverage: {
|
||||
include: [
|
||||
@@ -275,7 +276,9 @@ export default defineConfig(({ mode }) => ({
|
||||
'src/utils/permission.ts',
|
||||
'src/stores/auth.ts',
|
||||
'src/pages/recommend.vue',
|
||||
'src/pages/subscribe.vue',
|
||||
'src/views/dashboard/MediaRecommend.vue',
|
||||
'src/views/subscribe/SubscribeListView.vue',
|
||||
'src/composables/useMediaSubscribe.ts',
|
||||
'src/components/dialog/SubscribeEditDialog.vue',
|
||||
],
|
||||
@@ -305,6 +308,12 @@ export default defineConfig(({ mode }) => ({
|
||||
lines: 80,
|
||||
statements: 80,
|
||||
},
|
||||
'src/pages/subscribe.vue': {
|
||||
branches: 75,
|
||||
functions: 80,
|
||||
lines: 80,
|
||||
statements: 80,
|
||||
},
|
||||
'src/stores/auth.ts': {
|
||||
branches: 75,
|
||||
functions: 80,
|
||||
@@ -329,6 +338,12 @@ export default defineConfig(({ mode }) => ({
|
||||
lines: 80,
|
||||
statements: 80,
|
||||
},
|
||||
'src/views/subscribe/SubscribeListView.vue': {
|
||||
branches: 75,
|
||||
functions: 80,
|
||||
lines: 80,
|
||||
statements: 80,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user