diff --git a/packages/core/client/src/application/__tests__/Application.test.tsx b/packages/core/client/src/application/__tests__/Application.test.tsx index 2db784f2d1..8fdcb59b94 100644 --- a/packages/core/client/src/application/__tests__/Application.test.tsx +++ b/packages/core/client/src/application/__tests__/Application.test.tsx @@ -467,7 +467,7 @@ describe('Application', () => { .toMatchInlineSnapshot(` [ { - "label": "TestComponent", + "label": "{{t("TestComponent")}}", "useProps": [Function], "value": "TestComponent", }, diff --git a/packages/core/client/src/data-source/__tests__/collection-field-interface/CollectionFieldInterfaceManager.test.ts b/packages/core/client/src/data-source/__tests__/collection-field-interface/CollectionFieldInterfaceManager.test.ts index 69de8c8f97..a849280f9f 100644 --- a/packages/core/client/src/data-source/__tests__/collection-field-interface/CollectionFieldInterfaceManager.test.ts +++ b/packages/core/client/src/data-source/__tests__/collection-field-interface/CollectionFieldInterfaceManager.test.ts @@ -156,7 +156,7 @@ describe('CollectionFieldInterfaceManager', () => { expect(fieldInterface.componentOptions).toMatchInlineSnapshot(` [ { - "label": "A", + "label": "{{t("A")}}", "useProps": [Function], "value": "A", }, @@ -190,7 +190,7 @@ describe('CollectionFieldInterfaceManager', () => { expect(fieldInterface.componentOptions).toMatchInlineSnapshot(` [ { - "label": "A", + "label": "{{t("A")}}", "useProps": [Function], "value": "A", }, @@ -268,7 +268,7 @@ describe('CollectionFieldInterfaceManager', () => { expect(fieldInterface.componentOptions).toMatchInlineSnapshot(` [ { - "label": "B", + "label": "{{t("B")}}", "useProps": [Function], "value": "A.B", }, @@ -292,7 +292,7 @@ describe('CollectionFieldInterfaceManager', () => { }; componentOptions = [ { - label: 'A', + label: '{{t("A")}}', value: 'A', }, ]; @@ -308,7 +308,7 @@ describe('CollectionFieldInterfaceManager', () => { expect(fieldInterface.componentOptions).toMatchInlineSnapshot(` [ { - "label": "A", + "label": "{{t("A")}}", "value": "A", }, {