Skip to content

Commit

Permalink
Use mode:all
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur- committed Jun 25, 2024
1 parent e6f4dea commit 192429c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 8 additions & 1 deletion karma.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
],
],
},
}),
],
Expand Down
1 change: 0 additions & 1 deletion packages/ts/react-i18n/test/i18n.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ describe('@vaadin/hilla-react-i18n', () => {

describe('react integration', () => {
it('should re-render when language changes', async () => {
/** @useSignals */
function TestTranslateComponent() {
return <div>{i18n.translate('addresses.form.city.label')}</div>;
}
Expand Down

0 comments on commit 192429c

Please sign in to comment.