Commit df52f63f authored by jboyson's avatar jboyson

Refactor find to findComponent

parent e54a50ef
......@@ -78,12 +78,12 @@ describe('CodeReviewAnalyticsApp component', () => {
wrapper.destroy();
});
const findFilterBar = () => wrapper.find(FilterBar);
const findEmptyState = () => wrapper.find(GlEmptyState);
const findLoadingIcon = () => wrapper.find(GlLoadingIcon);
const findBadge = () => wrapper.find(GlBadge);
const findMrTable = () => wrapper.find(MergeRequestTable);
const findPagination = () => wrapper.find(GlPagination);
const findFilterBar = () => wrapper.findComponent(FilterBar);
const findEmptyState = () => wrapper.findComponent(GlEmptyState);
const findLoadingIcon = () => wrapper.findComponent(GlLoadingIcon);
const findBadge = () => wrapper.findComponent(GlBadge);
const findMrTable = () => wrapper.findComponent(MergeRequestTable);
const findPagination = () => wrapper.findComponent(GlPagination);
describe('template', () => {
it('renders the filter bar component', () => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment