it("hides the legend card", async () => {
    history.push("?hidden_cards=legend")
    renderReportsOverviewDashboard()
    expect(screen.queryAllByText(/Legend/).length).toBe(0)
})