Skip to content

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

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

import { getPythonTransformsRoutes, getPythonUpsellRoutes } from "./routes";

describe("python transform routes", () => {
  it("resolves every page", async () => {
    const loaders = [
      ...lazyLoaders(getPythonTransformsRoutes()),
      ...lazyLoaders(getPythonUpsellRoutes()),
    ];

    expect(loaders).toHaveLength(3);

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