Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

434 B
Raw Blame
import { lazyLoaders } from "__support__/lazy-routes";

import { getDataStudioTableRoutes } from "./routes";

const Guard = () => null;

describe("data studio table routes", () => {
  it("resolves every page", async () => {
    const loaders = lazyLoaders(getDataStudioTableRoutes(Guard));

    expect(loaders).toHaveLength(11);

    for (const load of loaders) {
      expect((await load()).Component).toBeDefined();
    }
  });
});