(data)
| 227 | } |
| 228 | |
| 229 | public addCommentToLocalCacheStoreMethod(data) { |
| 230 | const commentObj = new Comment({ discussion: this, store: this.store, ...data }); |
| 231 | |
| 232 | this.comments.push(commentObj); |
| 233 | |
| 234 | return commentObj; |
| 235 | } |
| 236 | |
| 237 | public editCommentFromLocalCacheStoreMethod(data) { |
| 238 | const comment = this.comments.find((c) => c.commentId === data._id); |
no outgoing calls
no test coverage detected