From c8a2b03e98248a9890d923c5ed82cdb01b1fee46 Mon Sep 17 00:00:00 2001 From: mattwr18 Date: Mon, 23 Sep 2019 10:04:15 +0200 Subject: [PATCH] Add removeHtml function in comments tests --- webapp/components/Comment.spec.js | 1 + webapp/components/CommentList/CommentList.spec.js | 1 + 2 files changed, 2 insertions(+) diff --git a/webapp/components/Comment.spec.js b/webapp/components/Comment.spec.js index b2d6d060a..381d49bc2 100644 --- a/webapp/components/Comment.spec.js +++ b/webapp/components/Comment.spec.js @@ -30,6 +30,7 @@ describe('Comment.vue', () => { }, $filters: { truncate: a => a, + removeHtml: a => a, }, $apollo: { mutate: jest.fn().mockResolvedValue({ diff --git a/webapp/components/CommentList/CommentList.spec.js b/webapp/components/CommentList/CommentList.spec.js index c066405e7..460f1a4ea 100644 --- a/webapp/components/CommentList/CommentList.spec.js +++ b/webapp/components/CommentList/CommentList.spec.js @@ -41,6 +41,7 @@ describe('CommentList.vue', () => { $t: jest.fn(), $filters: { truncate: a => a, + removeHtml: a => a, }, $apollo: { queries: {