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: {
|
$filters: {
|
||||||
truncate: a => a,
|
truncate: a => a,
|
||||||
|
removeHtml: a => a,
|
||||||
},
|
},
|
||||||
$apollo: {
|
$apollo: {
|
||||||
mutate: jest.fn().mockResolvedValue({
|
mutate: jest.fn().mockResolvedValue({
|
||||||
|
|||||||
@ -41,6 +41,7 @@ describe('CommentList.vue', () => {
|
|||||||
$t: jest.fn(),
|
$t: jest.fn(),
|
||||||
$filters: {
|
$filters: {
|
||||||
truncate: a => a,
|
truncate: a => a,
|
||||||
|
removeHtml: a => a,
|
||||||
},
|
},
|
||||||
$apollo: {
|
$apollo: {
|
||||||
queries: {
|
queries: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user