Files
frontend-app-learner-dashboard/src/containers/WidgetSidebar/widgets/LookingForChallengeWidget/index.test.jsx
2022-10-18 13:27:13 -04:00

21 lines
451 B
JavaScript

import { shallow } from 'enzyme';
import LookingForChallengeWidget from '.';
jest.mock('data/redux', () => ({
hooks: {
usePlatformSettingsData: () => ({
courseSearchUrl: 'course-search-url',
}),
},
}));
describe('LookingForChallengeWidget', () => {
describe('snapshots', () => {
test('default', () => {
const wrapper = shallow(<LookingForChallengeWidget />);
expect(wrapper).toMatchSnapshot();
});
});
});