993f4a7dcb
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
74 lines
2.4 KiB
Plaintext
74 lines
2.4 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`CommentTree renders a comment tree with comments 1`] = `
|
|
<div>
|
|
<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" aria-label="Comment body" value=""></editor-stub>
|
|
</p>
|
|
<!---->
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
</div>
|
|
<div class="send-comment">
|
|
<b-button-stub type="is-primary" iconleft="send" nativetype="submit" tag="button" class="comment-button-submit">Send</b-button-stub>
|
|
</div>
|
|
</article>
|
|
</form>
|
|
<transition-group-stub tag="div" name="comment-empty-list">
|
|
<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>
|
|
</transition-group-stub>
|
|
</div>
|
|
`;
|
|
|
|
exports[`CommentTree renders a loading comment tree 1`] = `
|
|
<div>
|
|
<!---->
|
|
<p class="loading has-text-centered">
|
|
Loading comments…
|
|
</p>
|
|
</div>
|
|
`;
|
|
|
|
exports[`CommentTree renders an empty comment tree 1`] = `
|
|
<div>
|
|
<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" aria-label="Comment body" value=""></editor-stub>
|
|
</p>
|
|
<!---->
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
</div>
|
|
<div class="send-comment">
|
|
<b-button-stub type="is-primary" iconleft="send" nativetype="submit" tag="button" class="comment-button-submit">Send</b-button-stub>
|
|
</div>
|
|
</article>
|
|
</form>
|
|
<transition-group-stub tag="div" name="comment-empty-list">
|
|
<empty-content-stub icon="comment" descriptionclasses="" inline="true"><span>No comments yet</span></empty-content-stub>
|
|
</transition-group-stub>
|
|
</div>
|
|
`;
|