Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
erral committed Jan 18, 2025
1 parent 16014f7 commit c5fefea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react';
import Helmet from '@plone/volto/helpers/Helmet/Helmet';
import App from '@plone/volto/components/theme/App/App';

import renderer from 'react-test-renderer';
import configureStore from 'redux-mock-store';
import { Provider } from 'react-intl-redux';
import { MemoryRouter } from 'react-router-dom';
import config from '@plone/volto/registry';

import { AlternateHrefLangs } from './AlternateHrefLangs';
Expand All @@ -30,11 +28,10 @@ describe('AlternateHrefLangs', () => {
});
const component = renderer.create(
<Provider store={store}>
<App>
<>
<Helmet></Helmet>
<strong>a</strong>
<AlternateHrefLangs content={content} />
</App>
</>
</Provider>,
);
const json = component.toJSON();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
exports[`AlternateHrefLangs multilingual site, with all available translations 1`] = `null`;

exports[`AlternateHrefLangs multilingual site, with some translations 1`] = `null`;

exports[`AlternateHrefLangs non multilingual site, renders nothing 1`] = `null`;

0 comments on commit c5fefea

Please sign in to comment.