Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Jul 29, 2024
1 parent 7da52c4 commit 7617110
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/static/app/js/components/tests/MapPreview.test.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React from 'react';
import { shallow } from 'enzyme';
import { mount } from 'enzyme';
import MapPreview from '../MapPreview';

describe('<MapPreview />', () => {
it('renders without exploding', () => {
const wrapper = shallow(<MapPreview getFiles={() => []} />);
const wrapper = mount(<MapPreview getFiles={() => []} />);
expect(wrapper.exists()).toBe(true);
})
});

0 comments on commit 7617110

Please sign in to comment.