Skip to content

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

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

import { getWritableConnectionInfoRoutes } from "./routes";

describe("writable connection routes", () => {
  it("resolves every page", async () => {
    const loaders = lazyLoaders(getWritableConnectionInfoRoutes());

    expect(loaders).toHaveLength(1);

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