mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
test(site): cover site card and icon cache (#561)
This commit is contained in:
@@ -305,10 +305,12 @@ export default defineConfig(({ mode }) => ({
|
||||
'src/views/discover/MediaCardListView.vue',
|
||||
'src/views/discover/MediaDetailView.vue',
|
||||
'src/components/cards/MediaCard.vue',
|
||||
'src/components/cards/SiteCard.vue',
|
||||
'src/components/slide/VirtualSlideView.vue',
|
||||
'src/views/discover/PersonCardSlideView.vue',
|
||||
'src/utils/mediaStatusCache.ts',
|
||||
'src/views/site/SiteCardListView.vue',
|
||||
'src/utils/siteIconCache.ts',
|
||||
],
|
||||
provider: 'v8',
|
||||
reporter: ['text', 'json-summary', 'html'],
|
||||
@@ -492,6 +494,18 @@ export default defineConfig(({ mode }) => ({
|
||||
lines: 90,
|
||||
statements: 90,
|
||||
},
|
||||
'src/components/cards/SiteCard.vue': {
|
||||
branches: 85,
|
||||
functions: 90,
|
||||
lines: 90,
|
||||
statements: 90,
|
||||
},
|
||||
'src/utils/siteIconCache.ts': {
|
||||
branches: 85,
|
||||
functions: 90,
|
||||
lines: 90,
|
||||
statements: 90,
|
||||
},
|
||||
'src/components/slide/VirtualSlideView.vue': {
|
||||
branches: 85,
|
||||
functions: 90,
|
||||
|
||||
Reference in New Issue
Block a user