Commit 0bd06477 authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch 'jdb/replace-find-findComponent-filter_bar_spec' into 'master'

Replace find with findComponent: filter_bar_spec

See merge request gitlab-org/gitlab!62847
parents 4e4ee5dc 202ae7bc
...@@ -101,7 +101,7 @@ describe('Filter bar', () => { ...@@ -101,7 +101,7 @@ describe('Filter bar', () => {
mock.restore(); mock.restore();
}); });
const findFilteredSearch = () => wrapper.find(FilteredSearchBar); const findFilteredSearch = () => wrapper.findComponent(FilteredSearchBar);
const getSearchToken = (type) => const getSearchToken = (type) =>
findFilteredSearch() findFilteredSearch()
.props('tokens') .props('tokens')
......
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