From c478dd548b03e0de5b0a75614c2fa2c0a77a90fe Mon Sep 17 00:00:00 2001 From: MrTimscampi Date: Mon, 15 Feb 2021 16:08:20 +0100 Subject: [PATCH] test(items): use proper message format --- utils/__tests__/items.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/__tests__/items.spec.ts b/utils/__tests__/items.spec.ts index d10d3a59..c451dd33 100644 --- a/utils/__tests__/items.spec.ts +++ b/utils/__tests__/items.spec.ts @@ -5,7 +5,7 @@ import { } from '../items'; describe('getLibraryIcon', () => { - test('returns the correct library icon based on library type', () => { + it('returns the correct library icon based on library type', () => { expect(getLibraryIcon('movies')).toEqual('mdi-movie'); expect(getLibraryIcon('music')).toEqual('mdi-music'); expect(getLibraryIcon('photos')).toEqual('mdi-image'); @@ -23,7 +23,7 @@ describe('getLibraryIcon', () => { }); describe('getShapeFromCollectionType', () => { - test('returns the correct card shape based on collection type', () => { + it('returns the correct card shape based on collection type', () => { expect(getShapeFromCollectionType('boxsets')).toEqual('portrait-card'); expect(getShapeFromCollectionType('movies')).toEqual('portrait-card'); expect(getShapeFromCollectionType('tvshows')).toEqual('portrait-card'); @@ -40,7 +40,7 @@ describe('getShapeFromCollectionType', () => { }); describe('getShapeFromItemType', () => { - test('returns the correct card shape based on item type', () => { + it('returns the correct card shape based on item type', () => { expect(getShapeFromItemType('Audio')).toEqual('square-card'); expect(getShapeFromItemType('folder')).toEqual('square-card'); expect(getShapeFromItemType('musicalbum')).toEqual('square-card');