diff --git a/tests/twinkletag.test.js b/tests/twinkletag.test.js index f890b1126..16f913d55 100644 --- a/tests/twinkletag.test.js +++ b/tests/twinkletag.test.js @@ -1,6 +1,13 @@ describe('modules/twinkletag', () => { describe('checkIncompatible', () => { - test('no conflicts', () => { + test('no conflicts, 0 tags to check', () => { + const incompatibleTags = ['Bad GIF', 'Bad JPEG', 'Bad SVG', 'Bad format']; + const tagsToCheck = []; + const expected = undefined; + expect(Twinkle.tag.checkIncompatible(incompatibleTags, tagsToCheck)).toBe(expected); + }); + + test('no conflicts, 1 tag to check', () => { const incompatibleTags = ['Bad GIF', 'Bad JPEG', 'Bad SVG', 'Bad format']; const tagsToCheck = ['Better source requested']; const expected = undefined;