text: import React from "react";
  import {waitForElementToBeRemoved, wait} from "@testing-library/react";
  import render from "../../../helpers/testHelper";
  import baseProps from "../../../stories/helpers/baseProps.js";
  import Component from "./index.js";
  import RailgunLoading from "./loadingCard";
  import RailgunMock from "mocks/cards/Railgun.mock.js";
  
  it("should render", async () => {
    const {container, getByText} = render(<Component {...baseProps} />, {
      mocks: RailgunMock,
    });
    await waitForElementToBeRemoved(() => getByText("Loading..."));
    await wait();
    expect(container.innerHTML).toBeTruthy();
    expect(container.innerHTML).not.toBe("Error");
  });
  it("should render", async () => {
    const {container} = render(<RailgunLoading {...baseProps} />, {
      mocks: RailgunMock,
    });
    await wait();
    expect(container.innerHTML).toBeTruthy();
    expect(container.innerHTML).not.toBe("Error");
  });
  