Fixed warnings in tests

This commit is contained in:
Alejandro Celaya
2019-10-05 19:13:57 +02:00
parent 923cc3ba01
commit 5a37787042
2 changed files with 9 additions and 6 deletions

View File

@@ -46,15 +46,17 @@ describe('shortUrlTagsReducer', () => {
});
});
describe('resetShortUrlsTags', () =>
it('creates expected action', () => expect(resetShortUrlsTags()).toEqual({ type: RESET_EDIT_SHORT_URL_TAGS })));
describe('resetShortUrlsTags', () => {
it('creates expected action', () => expect(resetShortUrlsTags()).toEqual({ type: RESET_EDIT_SHORT_URL_TAGS }));
});
describe('shortUrlTagsEdited', () =>
describe('shortUrlTagsEdited', () => {
it('creates expected action', () => expect(shortUrlTagsEdited(shortCode, tags)).toEqual({
tags,
shortCode,
type: SHORT_URL_TAGS_EDITED,
})));
}));
});
describe('editShortUrlTags', () => {
const updateShortUrlTags = jest.fn();