Skip to content

Commit

Permalink
chore: provide catalog default URL to storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
lordrip committed Nov 22, 2023
1 parent 3cf727b commit 6fa293c
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions packages/ui-tests/stories/Canvas.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
import {
Canvas,
CamelRouteVisualEntity,
VisibleFlowsContext,
VisibleFLowsContextResult,
pipeJson,
CatalogTilesProvider,
Canvas,
CatalogLoaderProvider,
PipeVisualEntity,
CatalogSchemaLoader,
CatalogTilesProvider,
EntitiesProvider,
PipeVisualEntity,
SchemasLoaderProvider,
SourceCodeProvider,
VisibleFLowsContextResult,
VisibleFlowsContext,
pipeJson,
} from '@kaoto-next/ui/testing';
import { Meta, StoryFn } from '@storybook/react';
import complexRouteMock from '../cypress/fixtures/complexRouteMock.json';
Expand Down Expand Up @@ -44,8 +45,8 @@ const emptyPipeEntity = new PipeVisualEntity(emptyPipeJson.spec!);
const ContextDecorator = (Story: StoryFn) => (
<SourceCodeProvider>
<EntitiesProvider>
<SchemasLoaderProvider>
<CatalogLoaderProvider>
<SchemasLoaderProvider catalogUrl={CatalogSchemaLoader.DEFAULT_CATALOG_PATH}>
<CatalogLoaderProvider catalogUrl={CatalogSchemaLoader.DEFAULT_CATALOG_PATH}>
<CatalogTilesProvider>
<Story />
</CatalogTilesProvider>
Expand Down

0 comments on commit 6fa293c

Please sign in to comment.