diff --git a/packages/x-components/src/x-modules/extra-params/components/__tests__/extra-params.spec.ts b/packages/x-components/src/x-modules/extra-params/components/__tests__/extra-params.spec.ts index 5376cdff4c..a226e19003 100644 --- a/packages/x-components/src/x-modules/extra-params/components/__tests__/extra-params.spec.ts +++ b/packages/x-components/src/x-modules/extra-params/components/__tests__/extra-params.spec.ts @@ -40,7 +40,7 @@ describe('testing extra params component', () => { expect(extraParamsProvidedCallback).toHaveBeenCalledWith<[WirePayload>]>({ eventPayload: { warehouse: 1234 }, - metadata: { moduleName: 'extraParams', location: undefined, replaceable: true } + metadata: { moduleName: 'extraParams', location: 'none', replaceable: true } }); expect(extraParamsProvidedCallback).toHaveBeenCalledTimes(1); @@ -48,7 +48,7 @@ describe('testing extra params component', () => { expect(extraParamsProvidedCallback).toHaveBeenCalledWith<[WirePayload>]>({ eventPayload: { warehouse: 5678 }, - metadata: { moduleName: 'extraParams', location: undefined, replaceable: true } + metadata: { moduleName: 'extraParams', location: 'none', replaceable: true } }); expect(extraParamsProvidedCallback).toHaveBeenCalledTimes(2); }); diff --git a/packages/x-components/src/x-modules/extra-params/components/extra-params.vue b/packages/x-components/src/x-modules/extra-params/components/extra-params.vue index d24dc6301e..3e4234bff5 100644 --- a/packages/x-components/src/x-modules/extra-params/components/extra-params.vue +++ b/packages/x-components/src/x-modules/extra-params/components/extra-params.vue @@ -1,9 +1,9 @@