// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`copying a single list item shouldn't copy the list metadata 1`] = `
{
  "content": [
    {
      "content": [
        {
          "text": "Hello",
          "type": "text",
        },
      ],
      "type": "paragraph",
    },
  ],
  "openEnd": 1,
  "openStart": 1,
}
`;

exports[`copying a single nested list item shouldn't copy the list metadata 1`] = `
{
  "content": [
    {
      "content": [
        {
          "text": "Nested list item",
          "type": "text",
        },
      ],
      "type": "paragraph",
    },
  ],
  "openEnd": 1,
  "openStart": 1,
}
`;

exports[`copying multiple lists shouldn't copy only the first list 1`] = `
{
  "content": [
    {
      "attrs": {
        "listType": "",
        "start": 1,
        "type": undefined,
      },
      "content": [
        {
          "content": [
            {
              "content": [
                {
                  "text": "Hello",
                  "type": "text",
                },
              ],
              "type": "paragraph",
            },
          ],
          "type": "listItem",
        },
      ],
      "type": "orderedList",
    },
    {
      "attrs": {
        "listType": "",
        "start": 1,
        "type": undefined,
      },
      "content": [
        {
          "content": [
            {
              "content": [
                {
                  "text": "Hello 2",
                  "type": "text",
                },
              ],
              "type": "paragraph",
            },
          ],
          "type": "listItem",
        },
      ],
      "type": "orderedList",
    },
    {
      "attrs": {
        "listType": "",
        "start": 1,
        "type": undefined,
      },
      "content": [
        {
          "content": [
            {
              "content": [
                {
                  "text": "Hello 3",
                  "type": "text",
                },
              ],
              "type": "paragraph",
            },
          ],
          "type": "listItem",
        },
      ],
      "type": "orderedList",
    },
  ],
}
`;

exports[`copying text from a list item shouldn't add extra spaces at the end 1`] = `
{
  "content": [
    {
      "content": [
        {
          "marks": [
            {
              "attrs": {
                "class": null,
                "href": "https://google.com/",
                "rel": "noopener noreferrer nofollow",
                "spellcheck": "false",
                "target": "_blank",
                "title": null,
              },
              "type": "link",
            },
          ],
          "text": "Hello",
          "type": "text",
        },
      ],
      "type": "paragraph",
    },
  ],
  "openEnd": 1,
  "openStart": 1,
}
`;
