packages/components/psammead-social-embed/src/index.test.jsx
File index.test.jsx
has 295 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* eslint-disable no-console */
import React from 'react';
import { render, waitFor } from '@testing-library/react';
import { shouldMatchSnapshot } from '@bbc/psammead-test-helpers';
import { CanonicalSocialEmbed, AmpSocialEmbed } from './index';