diff --git a/packages/editor-ui/src/components/RunDataSchema.test.ts b/packages/editor-ui/src/components/RunDataSchema.test.ts index a07066bbc0..9d71ab3f13 100644 --- a/packages/editor-ui/src/components/RunDataSchema.test.ts +++ b/packages/editor-ui/src/components/RunDataSchema.test.ts @@ -6,7 +6,7 @@ import { STORES } from "@/constants"; describe('RunDataJsonSchema.vue', () => { it('renders json schema properly', () => { - const {container} = render(RunDataJsonSchema, { + const { container } = render(RunDataJsonSchema, { pinia: createTestingPinia({ initialState: { [STORES.SETTINGS]: { @@ -19,6 +19,7 @@ describe('RunDataJsonSchema.vue', () => { }, }, }), + stubs: ['font-awesome-icon'], props: { mappingEnabled: true, distanceFromActive: 1, diff --git a/packages/editor-ui/src/components/__snapshots__/RunDataSchema.test.ts.snap b/packages/editor-ui/src/components/__snapshots__/RunDataSchema.test.ts.snap index 173567d746..04fc0b9908 100644 --- a/packages/editor-ui/src/components/__snapshots__/RunDataSchema.test.ts.snap +++ b/packages/editor-ui/src/components/__snapshots__/RunDataSchema.test.ts.snap @@ -41,22 +41,10 @@ exports[`RunDataJsonSchema.vue > renders json schema properly 1`] = ` data-target="mappable" data-value="{{ $json[\\"name\\"] }}" > - + renders json schema properly 1`] = ` data-target="mappable" data-value="{{ $json[\\"age\\"] }}" > - + renders json schema properly 1`] = ` data-target="mappable" data-value="{{ $json[\\"hobbies\\"] }}" > - + renders json schema properly 1`] = ` class="_toggle_eg159_20" for="array-0-2" > - +
renders json schema properly 1`] = ` data-target="mappable" data-value="{{ $json[\\"hobbies\\"][0] }}" > - + hobbies @@ -272,22 +211,10 @@ exports[`RunDataJsonSchema.vue > renders json schema properly 1`] = ` data-target="mappable" data-value="{{ $json[\\"hobbies\\"][1] }}" > - + hobbies