diff --git a/karma.config.cjs b/karma.config.cjs index cf04274ee5..929b75362d 100644 --- a/karma.config.cjs +++ b/karma.config.cjs @@ -169,7 +169,14 @@ module.exports = (config) => { reactPlugin({ include: '**/*.tsx', babel: { - plugins: ['module:@preact/signals-react-transform'], + plugins: [ + [ + 'module:@preact/signals-react-transform', + { + mode: 'all', + }, + ], + ], }, }), ], diff --git a/packages/ts/react-i18n/test/i18n.spec.tsx b/packages/ts/react-i18n/test/i18n.spec.tsx index 93fd7bd716..71bd450bfc 100644 --- a/packages/ts/react-i18n/test/i18n.spec.tsx +++ b/packages/ts/react-i18n/test/i18n.spec.tsx @@ -252,7 +252,6 @@ describe('@vaadin/hilla-react-i18n', () => { describe('react integration', () => { it('should re-render when language changes', async () => { - /** @useSignals */ function TestTranslateComponent() { return
{i18n.translate('addresses.form.city.label')}
; }