import { render, screen } from '@tests/utils';
import { getFormattedDate } from '@utils/helpers/dates';
import Meta from './meta';
const data = {
  publication: { date: '2022-04-09' },
  thematics: [
    
      Category 1
    ,
    
      Category 2
    ,
  ],
};
describe('Meta', () => {
  it('format a date string', () => {
    render();
    expect(
      screen.getByText(getFormattedDate(data.publication.date))
    ).toBeInTheDocument();
  });
});