mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-21 19:29:37 +00:00
Fix broken component tests
This commit is contained in:
parent
84f99370ee
commit
b18da959db
3 changed files with 15 additions and 4 deletions
|
|
@ -30,6 +30,14 @@ describe('LazySeriesCard', () => {
|
|||
}
|
||||
|
||||
const mocks = {
|
||||
$getString: (id, args) => {
|
||||
switch (id) {
|
||||
case 'LabelAddedDate':
|
||||
return `Added ${args[0]}`
|
||||
default:
|
||||
return null
|
||||
}
|
||||
},
|
||||
$store: {
|
||||
getters: {
|
||||
'user/getUserCanUpdate': true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue