diff --git a/src/plugins/comment_paragraph/hotspot/comment-paragraph-from.component.spec.ts b/src/plugins/comment_paragraph/hotspot/comment-paragraph-from.component.spec.ts index 275ae48..f17bca8 100644 --- a/src/plugins/comment_paragraph/hotspot/comment-paragraph-from.component.spec.ts +++ b/src/plugins/comment_paragraph/hotspot/comment-paragraph-from.component.spec.ts @@ -25,7 +25,7 @@ describe("Components", () => { }); it('set paragraph uuid when parent has it setted', () => { - helper.component.parent = { paragraph_uuid: 'uuid' }; + helper.component.parent = { paragraph_uuid: 'uuid' }; helper.detectChanges(); expect((helper.component.comment).paragraph_uuid).toEqual('uuid'); }); diff --git a/src/plugins/comment_paragraph/side-comments/side-comments.component.spec.ts b/src/plugins/comment_paragraph/side-comments/side-comments.component.spec.ts index 955e19c..34eed73 100644 --- a/src/plugins/comment_paragraph/side-comments/side-comments.component.spec.ts +++ b/src/plugins/comment_paragraph/side-comments/side-comments.component.spec.ts @@ -44,7 +44,8 @@ describe("Components", () => { }); it('set paragraph uuid in new comment object', () => { - expect(helper.component.newComment['paragraph_uuid']).toEqual('uuid'); + let comment = helper.component.newComment; + expect(comment['paragraph_uuid']).toEqual('uuid'); }); }); }); -- libgit2 0.21.2