mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Add removeHtml function in comments tests
This commit is contained in:
parent
6542a0a584
commit
c8a2b03e98
@ -30,6 +30,7 @@ describe('Comment.vue', () => {
|
||||
},
|
||||
$filters: {
|
||||
truncate: a => a,
|
||||
removeHtml: a => a,
|
||||
},
|
||||
$apollo: {
|
||||
mutate: jest.fn().mockResolvedValue({
|
||||
|
||||
@ -41,6 +41,7 @@ describe('CommentList.vue', () => {
|
||||
$t: jest.fn(),
|
||||
$filters: {
|
||||
truncate: a => a,
|
||||
removeHtml: a => a,
|
||||
},
|
||||
$apollo: {
|
||||
queries: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user