def get_abstract(document: dict) -> str:
    """
    Get the abstract of a document with the same structure as the json in the COVID-19 dataset.

    Parameters
    ----------
    document: :class:`dict`
        A `dict` representing a document.

    Returns
    -------
    :class:`str`
        Abstract of the document.

    Examples
    --------

    >>> get_abstract(toy_covid_article) # doctest: +NORMALIZE_WHITESPACE
    'In the jungle, no-one hears you far cry. And vice-versa.
    They say to make a long abstract, with the number 42 in it, so here I am.'
    """
    abstract_list = document["abstract"]
    if abstract_list:
        return " ".join(
            [dict_abstract["text"] for dict_abstract in abstract_list]
        )
    else:
        return ""