src/integration/pages/articles/imageCopyrightNonBBC.js

Summary

Maintainability
A
2 hrs
Test Coverage
export default () => {
  describe('Image Copyright Non BBC', () => {
    const copyrightTextEl = document.querySelector(
      'main figure span:nth-child(2)',
    );
    it('should be in the document', () => {
      expect(copyrightTextEl).toBeInTheDocument();
    });

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