text: /////////////////////////////////////////////////////////////////////
  // Copyright (c) Autodesk, Inc. All rights reserved
  // Written by Forge Design Automation team for Inventor
  //
  // Permission to use, copy, modify, and distribute this software in
  // object code form for any purpose and without fee is hereby granted,
  // provided that the above copyright notice appears in all copies and
  // that both that copyright notice and the limited warranty and
  // restricted rights notice below appear in all supporting
  // documentation.
  //
  // AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
  // AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
  // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE.  AUTODESK, INC.
  // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
  // UNINTERRUPTED OR ERROR FREE.
  /////////////////////////////////////////////////////////////////////
  
  import React from 'react';
  import Enzyme, { shallow } from 'enzyme';
  import Adapter from '@wojtekmaj/enzyme-adapter-react-17';
  import { ReportUrl } from './reportUrl';
  
  Enzyme.configure({ adapter: new Adapter() });
  
  describe('Show report url', () => {
      it('Shows report url when work item finishes', () => {
          const props = { reportUrl: 'http://example.com' };
          const wrapper = shallow(<ReportUrl {...props} />);
          const hyperlink = wrapper.find('HyperLink');
          expect(hyperlink.prop('href')).toEqual(props.reportUrl);
          expect(wrapper).toEqual({});
      });
  
      it('Do not show report url', () => {
          const props = { reportUrl: null };
          const wrapper = shallow(<ReportUrl {...props} />);
          const hyperlink = wrapper.find('HyperLink');
          expect(hyperlink.contains('HyperLink')).toBe(false);
      });
  });