zhongrj
2025-11-24 276323dce9613867abb3f58a4cc2abbfb2fd0dea
1
2
3
4
5
6
7
8
9
10
import React from 'react';
import { mount } from 'enzyme';
import ImagePopup from '../ImagePopup';
 
describe('<ImagePopup />', () => {
    it('renders without exploding', () => {
      const wrapper = mount(<ImagePopup task={{id: 1, project: 1}} feature={{properties: {filename: "abc"}}} />);
      expect(wrapper.exists()).toBe(true);
    })
  });