text: import { shallow } from 'enzyme';
  import toJson from 'enzyme-to-json';
  import React from 'react';
  import CVEPageDetailsSeverity from './CVEPageDetailsSeverity';
  
  describe('CVEPageDetailsSeverity component', () => {
      it('should render without props', () => {
          const wrapper = shallow(<CVEPageDetailsSeverity />);
          expect(toJson(wrapper)).toMatchSnapshot();
      });
  
      it('should render where impact value is undefined', () => {
          const wrapper = shallow(<CVEPageDetailsSeverity impact={undefined} />);
          expect(toJson(wrapper)).toMatchSnapshot();
      });
  
      it('should render where impact value is Critial', () => {
          const wrapper = shallow(<CVEPageDetailsSeverity impact={'Critical'} />);
          expect(toJson(wrapper)).toMatchSnapshot();
      });
  });
  