mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-12 10:33:49 +00:00
Updated EditTagsModal to be a functional component
This commit is contained in:
@@ -37,17 +37,6 @@ describe('<EditTagsModal />', () => {
|
||||
jest.clearAllMocks();
|
||||
});
|
||||
|
||||
it('resets tags when component is mounted', () => {
|
||||
createWrapper({
|
||||
shortCode,
|
||||
tags: [],
|
||||
saving: false,
|
||||
error: false,
|
||||
});
|
||||
|
||||
expect(resetShortUrlsTags).toHaveBeenCalledTimes(1);
|
||||
});
|
||||
|
||||
it('renders tags selector and save button when loaded', () => {
|
||||
const wrapper = createWrapper({
|
||||
shortCode,
|
||||
|
||||
Reference in New Issue
Block a user