Skip to content

Commit

Permalink
fix(storybook): Have a static ID for Kamelet
Browse files Browse the repository at this point in the history
  • Loading branch information
lordrip committed Feb 8, 2024
1 parent a206a83 commit c3d5bf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ui-tests/stories/canvas/Canvas.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
CatalogSchemaLoader,
CatalogTilesProvider,
EntitiesProvider,
KameletVisualEntity,
PipeVisualEntity,
SchemasLoaderProvider,
SourceCodeProvider,
Expand Down Expand Up @@ -41,7 +42,7 @@ const emptyCamelRouteJson = {
const camelRouteEntity = new CamelRouteVisualEntity(complexRouteMock.route);
const emptyCamelRouteEntity = new CamelRouteVisualEntity(emptyCamelRouteJson.route);
const pipeEntity = new PipeVisualEntity(pipeJson.spec!);
const kameletEntity = new CamelRouteVisualEntity(kameletJson.spec.template);
const kameletEntity = new KameletVisualEntity(kameletJson);
const emptyPipeEntity = new PipeVisualEntity(emptyPipeJson.spec!);

const ContextDecorator = (Story: StoryFn) => (
Expand Down

0 comments on commit c3d5bf8

Please sign in to comment.