{
  "data": [
    {
      "module":"toImage",
      "tests": [
        {
          "description": "test toImage",
          "text": "Hello world! 😄 :smile:",
          "expected": "Hello world! <img class=\\\"emojione\\\" alt=\\\"😄\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f604.png?v=2.0.1\\\"/> <img class=\\\"emojione\\\" alt=\\\"😄\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f604.png?v=2.0.1\\\"/>"
        },
        {
          "description": "mixed ascii, regular unicode and duplicate emoji",
          "text": ":alien: is 👽 and 저 is not :alien: or :alien: also :randomy: is not emoji",
          "expected": "<img class=\\\"emojione\\\" alt=\\\"👽\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f47d.png?v=2.0.1\\\"/> is <img class=\\\"emojione\\\" alt=\\\"👽\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f47d.png?v=2.0.1\\\"/> and 저 is not <img class=\\\"emojione\\\" alt=\\\"👽\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f47d.png?v=2.0.1\\\"/> or <img class=\\\"emojione\\\" alt=\\\"👽\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f47d.png?v=2.0.1\\\"/> also :randomy: is not emoji"
        }
      ]
    },
    {
      "module":"unifyUnicode",
      "tests": [
        {
          "description": "test unifyUnicode",
          "text": "Hello world! 😄 :smile:",
          "expected": "Hello world! 😄 😄"
        },
        {
          "description": "mixed ascii, regular unicode and duplicate emoji",
          "text": ":alien: is 👽 and 저 is not :alien: or :alien: also :randomy: is not emoji",
          "expected": "👽 is 👽 and 저 is not 👽 or 👽 also :randomy: is not emoji"
        },
        {
          "description": "multiline emoji string",
          "text": ":dancer:\\\n:dancer:",
          "expected": "💃\\\n💃"
        },
        {
          "description": "triple emoji string",
          "text": ":dancer::dancer::alien:",
          "expected": "💃💃👽"
        }
      ]
    },
    {
      "module": "shortnameToUnicode",
      "tests": [
        {
          "description": "single unicode character conversion",
          "text": "Hello world! 😄 :smile:",
          "expected": "Hello world! 😄 😄"
        },
        {
          "description": "shortname mid sentence with a comma",
          "text": "The :snail:, is Emoji One's official mascot.",
          "expected": "The 🐌, is Emoji One's official mascot."
        },
        {
          "description": "shortname at start of sentence with apostrophe",
          "text": ":snail:'s are cool!",
          "expected": "🐌's are cool!"
        },
        {
          "description": "shortname shares a colon",
          "text": ":invalid:snail:",
          "expected": ":invalid🐌"
        },
        {
          "description": "mixed ascii, regular unicode and duplicate emoji",
          "text": ":alien: is 👽 and 저 is not :alien: or :alien: also :randomy: is not emoji",
          "expected": "👽 is 👽 and 저 is not 👽 or 👽 also :randomy: is not emoji"
        },
        {
          "description": "multiline emoji string",
          "text": ":dancer:\\n:dancer:",
          "expected": "💃\\n💃"
        },
        {
          "description": "triple emoji string",
          "text": ":dancer::dancer::alien:",
          "expected": "💃💃👽"
        }
      ]
    },
    {
      "module": "shortnameToImage",
      "tests": [
        {
          "description": "single shortname character conversion",
          "text": "Hello world! 😄 :smile:",
          "expected": "Hello world! 😄 <img class=\\\"emojione\\\" alt=\\\"😄\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f604.png?v=2.0.1\\\"/>"
        },
                {
          "description": "shortname at start of sentence with apostrophe",
          "text": ":snail:'s are cool!",
          "expected": "<img class=\\\"emojione\\\" alt=\\\"🐌\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f40c.png?v=2.0.1\\\"/>'s are cool!"
        },
        {
          "description": "shortname shares a colon",
          "text": ":invalid:snail:",
          "expected": ":invalid<img class=\\\"emojione\\\" alt=\\\"🐌\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f40c.png?v=2.0.1\\\"/>"
        },
        {
          "description": "mixed ascii, regular unicode and duplicate emoji",
          "text": ":alien: is 👽 and 저 is not :alien: or :alien: also :randomy: is not emoji",
          "expected": "<img class=\\\"emojione\\\" alt=\\\"👽\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f47d.png?v=2.0.1\\\"/> is 👽 and 저 is not <img class=\\\"emojione\\\" alt=\\\"👽\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f47d.png?v=2.0.1\\\"/> or <img class=\\\"emojione\\\" alt=\\\"👽\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f47d.png?v=2.0.1\\\"/> also :randomy: is not emoji"
        },
        {
          "description": "multiline emoji string",
          "text": ":dancer:\\n:dancer:",
          "expected": "<img class=\\\"emojione\\\" alt=\\\"💃\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f483.png?v=2.0.1\\\"/>\\n<img class=\\\"emojione\\\" alt=\\\"💃\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f483.png?v=2.0.1\\\"/>"
        },
        {
          "description": "triple emoji string",
          "text": ":dancer::dancer::alien:",
          "expected": "<img class=\\\"emojione\\\" alt=\\\"💃\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f483.png?v=2.0.1\\\"/><img class=\\\"emojione\\\" alt=\\\"💃\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f483.png?v=2.0.1\\\"/><img class=\\\"emojione\\\" alt=\\\"👽\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f47d.png?v=2.0.1\\\"/>"
        }
      ]
    },
    {
      "module": "toShort",
      "tests": [
        {
          "description": "single unicode character conversion",
          "text": "Hello world! 😄 :smile:",
          "expected": "Hello world! :smile: :smile:"
        },
        {
          "description": "mixed ascii, regular unicode and duplicate emoji",
          "text": "👽 is not :alien: and 저 is not 👽 or 👽",
          "expected": ":alien: is not :alien: and 저 is not :alien: or :alien:"
        },
        {
          "description": "multiline emoji string",
          "text": "💃\\n💃",
          "expected": ":dancer:\\n:dancer:"
        }
      ]
    },
    {
      "module": "toImage",
      "tests": [
        {
          "description": "single character shortname conversion",
          "text": "Hello world! 😄 :smile:",
          "expected": "Hello world! <img class=\\\"emojione\\\" alt=\\\"😄\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f604.png?v=2.0.1\\\"/> <img class=\\\"emojione\\\" alt=\\\"😄\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f604.png?v=2.0.1\\\"/>"
        },
        {
          "description": "shortname shares a colon",
          "text": ":invalid:snail:",
          "expected": ":invalid<img class=\\\"emojione\\\" alt=\\\"🐌\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f40c.png?v=2.0.1\\\"/>"
        },
        {
          "description": "single unicode character conversion",
          "text": "🐌",
          "expected": "<img class=\\\"emojione\\\" alt=\\\"🐌\\\" src=\\\"//cdn.jsdelivr.net/emojione/assets/png/1f40c.png?v=2.0.1\\\"/>"
        }
      ]
    }
  ]
}