src/integration/common/embedHtml.amp.js

Summary

Maintainability
A
3 hrs
Test Coverage
export default () => {
  describe('Embed HTML', () => {
    const embedErrorMessage = document.querySelector(
      `[data-e2e="embed-error"]`,
    );

    it('should render an Embed error message on AMP', () => {
      expect(embedErrorMessage).toBeInTheDocument();
    });

    it('should match snapshot', () => {
      expect(embedErrorMessage).toMatchSnapshot();
    });
  });
};