2020-12-03 17:22:05 +01:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2021-06-04 20:24:43 +02:00
|
|
|
exports[`CommentTree renders a comment tree with comments 1`] = `
|
2020-12-03 17:22:05 +01:00
|
|
|
<div>
|
2021-06-10 14:44:56 +02:00
|
|
|
<form class="new-comment">
|
|
|
|
<!---->
|
|
|
|
<article class="media">
|
|
|
|
<figure class="media-left">
|
|
|
|
<identity-picker-wrapper-stub value="[object Object]"></identity-picker-wrapper-stub>
|
|
|
|
</figure>
|
|
|
|
<div class="media-content">
|
|
|
|
<div class="field">
|
|
|
|
<div class="field">
|
|
|
|
<p class="control">
|
|
|
|
<editor-stub mode="comment" value=""></editor-stub>
|
|
|
|
</p>
|
|
|
|
<!---->
|
|
|
|
</div>
|
|
|
|
<!---->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="send-comment">
|
|
|
|
<b-button-stub type="is-primary" iconleft="send" nativetype="submit" tag="button" aria-label="Post a comment" class="comment-button-submit"></b-button-stub>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</form>
|
2021-05-03 14:52:37 +02:00
|
|
|
<transition-group-stub name="comment-empty-list" mode="out-in">
|
2021-04-08 09:53:46 +02:00
|
|
|
<transition-group-stub tag="ul" name="comment-list" class="comment-list">
|
|
|
|
<comment-stub comment="[object Object]" event="[object Object]" class="root-comment"></comment-stub>
|
|
|
|
<comment-stub comment="[object Object]" event="[object Object]" class="root-comment"></comment-stub>
|
|
|
|
</transition-group-stub>
|
2021-05-03 14:52:37 +02:00
|
|
|
</transition-group-stub>
|
2020-12-03 17:22:05 +01:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2021-06-04 20:24:43 +02:00
|
|
|
exports[`CommentTree renders an empty comment tree 1`] = `
|
2020-12-03 17:22:05 +01:00
|
|
|
<div>
|
2021-06-10 14:44:56 +02:00
|
|
|
<form class="new-comment">
|
|
|
|
<!---->
|
|
|
|
<article class="media">
|
|
|
|
<figure class="media-left">
|
|
|
|
<identity-picker-wrapper-stub value="[object Object]"></identity-picker-wrapper-stub>
|
|
|
|
</figure>
|
|
|
|
<div class="media-content">
|
|
|
|
<div class="field">
|
|
|
|
<div class="field">
|
|
|
|
<p class="control">
|
|
|
|
<editor-stub mode="comment" value=""></editor-stub>
|
|
|
|
</p>
|
|
|
|
<!---->
|
|
|
|
</div>
|
|
|
|
<!---->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="send-comment">
|
|
|
|
<b-button-stub type="is-primary" iconleft="send" nativetype="submit" tag="button" aria-label="Post a comment" class="comment-button-submit"></b-button-stub>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</form>
|
2021-05-03 14:52:37 +02:00
|
|
|
<transition-group-stub name="comment-empty-list" mode="out-in">
|
2021-04-08 09:53:46 +02:00
|
|
|
<div class="no-comments"><span>No comments yet</span></div>
|
2021-05-03 14:52:37 +02:00
|
|
|
</transition-group-stub>
|
2020-12-03 17:22:05 +01:00
|
|
|
</div>
|
|
|
|
`;
|