mirror of
https://github.com/outline/outline.git
synced 2026-11-27 16:08:58 +03:00
* fix: Do not size last table column by default * feat: Allow text param for comments.create * Support images in comment text
127 lines
2.5 KiB
Plaintext
127 lines
2.5 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`#comments.add_reaction should require authentication 1`] = `
|
|
{
|
|
"error": "authentication_required",
|
|
"message": "Authentication required",
|
|
"ok": false,
|
|
"status": 401,
|
|
}
|
|
`;
|
|
|
|
exports[`#comments.create should create a comment from markdown text 1`] = `
|
|
{
|
|
"content": [
|
|
{
|
|
"attrs": {
|
|
"level": 2,
|
|
},
|
|
"content": [
|
|
{
|
|
"text": "heading",
|
|
"type": "text",
|
|
},
|
|
],
|
|
"type": "heading",
|
|
},
|
|
{
|
|
"content": [
|
|
{
|
|
"content": [
|
|
{
|
|
"content": [
|
|
{
|
|
"text": "list item 1",
|
|
"type": "text",
|
|
},
|
|
],
|
|
"type": "paragraph",
|
|
},
|
|
],
|
|
"type": "list_item",
|
|
},
|
|
{
|
|
"content": [
|
|
{
|
|
"content": [
|
|
{
|
|
"text": "list item 2",
|
|
"type": "text",
|
|
},
|
|
],
|
|
"type": "paragraph",
|
|
},
|
|
],
|
|
"type": "list_item",
|
|
},
|
|
],
|
|
"type": "bullet_list",
|
|
},
|
|
],
|
|
"type": "doc",
|
|
}
|
|
`;
|
|
|
|
exports[`#comments.create should require authentication 1`] = `
|
|
{
|
|
"error": "authentication_required",
|
|
"message": "Authentication required",
|
|
"ok": false,
|
|
"status": 401,
|
|
}
|
|
`;
|
|
|
|
exports[`#comments.info should require authentication 1`] = `
|
|
{
|
|
"error": "authentication_required",
|
|
"message": "Authentication required",
|
|
"ok": false,
|
|
"status": 401,
|
|
}
|
|
`;
|
|
|
|
exports[`#comments.list should require authentication 1`] = `
|
|
{
|
|
"error": "authentication_required",
|
|
"message": "Authentication required",
|
|
"ok": false,
|
|
"status": 401,
|
|
}
|
|
`;
|
|
|
|
exports[`#comments.remove_reaction should require authentication 1`] = `
|
|
{
|
|
"error": "authentication_required",
|
|
"message": "Authentication required",
|
|
"ok": false,
|
|
"status": 401,
|
|
}
|
|
`;
|
|
|
|
exports[`#comments.resolve should require authentication 1`] = `
|
|
{
|
|
"error": "authentication_required",
|
|
"message": "Authentication required",
|
|
"ok": false,
|
|
"status": 401,
|
|
}
|
|
`;
|
|
|
|
exports[`#comments.unresolve should require authentication 1`] = `
|
|
{
|
|
"error": "authentication_required",
|
|
"message": "Authentication required",
|
|
"ok": false,
|
|
"status": 401,
|
|
}
|
|
`;
|
|
|
|
exports[`#comments.update should require authentication 1`] = `
|
|
{
|
|
"error": "authentication_required",
|
|
"message": "Authentication required",
|
|
"ok": false,
|
|
"status": 401,
|
|
}
|
|
`;
|