diff --git a/test/short-urls/CreateShortUrl.test.js b/test/short-urls/CreateShortUrl.test.js index 6d281b7c..aac1172d 100644 --- a/test/short-urls/CreateShortUrl.test.js +++ b/test/short-urls/CreateShortUrl.test.js @@ -14,7 +14,7 @@ describe('', () => { const createShortUrl = jest.fn(); beforeEach(() => { - const CreateShortUrl = createShortUrlsCreator(TagsSelector, () => ''); + const CreateShortUrl = createShortUrlsCreator(TagsSelector, () => '', () => ''); wrapper = shallow( diff --git a/test/short-urls/SearchBar.test.js b/test/short-urls/SearchBar.test.js index 423af3cd..2d7ef01c 100644 --- a/test/short-urls/SearchBar.test.js +++ b/test/short-urls/SearchBar.test.js @@ -9,7 +9,7 @@ import DateRangeRow from '../../src/utils/DateRangeRow'; describe('', () => { let wrapper; const listShortUrlsMock = jest.fn(); - const SearchBar = searchBarCreator({}); + const SearchBar = searchBarCreator({}, () => ''); afterEach(() => { listShortUrlsMock.mockReset(); diff --git a/test/short-urls/helpers/ShortUrlsRowMenu.test.js b/test/short-urls/helpers/ShortUrlsRowMenu.test.js index 38d1db67..cfcee90d 100644 --- a/test/short-urls/helpers/ShortUrlsRowMenu.test.js +++ b/test/short-urls/helpers/ShortUrlsRowMenu.test.js @@ -17,7 +17,7 @@ describe('', () => { shortUrl: 'https://doma.in/abc123', }; const createWrapper = () => { - const ShortUrlsRowMenu = createShortUrlsRowMenu(DeleteShortUrlModal, EditTagsModal, EditMetaModal); + const ShortUrlsRowMenu = createShortUrlsRowMenu(DeleteShortUrlModal, EditTagsModal, EditMetaModal, () => ''); wrapper = shallow(