diff --git a/components/Buttons/__tests__/LikeButton.spec.ts b/components/Buttons/__tests__/LikeButton.spec.ts index 0671e5e2..32d218f8 100644 --- a/components/Buttons/__tests__/LikeButton.spec.ts +++ b/components/Buttons/__tests__/LikeButton.spec.ts @@ -5,7 +5,7 @@ import Vuex, { Store } from 'vuex'; import Vue from 'vue'; import LikeButton from '../LikeButton.vue'; -describe('LikeButton', () => { +describe('component: LikeButton', () => { const localVue = createLocalVue(); let vuetify: Vuetify; let store: Store; diff --git a/components/Buttons/__tests__/PlayButton.spec.ts b/components/Buttons/__tests__/PlayButton.spec.ts index c1925178..e0c53a50 100644 --- a/components/Buttons/__tests__/PlayButton.spec.ts +++ b/components/Buttons/__tests__/PlayButton.spec.ts @@ -32,7 +32,7 @@ const wrapper = mount(PlayButton, { store }); -describe('PlayButton', () => { +describe('component: PlayButton', () => { it('shows the text "play"', (): void => { expect(wrapper.text()).toBe('play'); }); diff --git a/components/Layout/Images/__tests__/BlurhashCanvas.spec.ts b/components/Layout/Images/__tests__/BlurhashCanvas.spec.ts index b709294f..6d95cb36 100644 --- a/components/Layout/Images/__tests__/BlurhashCanvas.spec.ts +++ b/components/Layout/Images/__tests__/BlurhashCanvas.spec.ts @@ -12,7 +12,7 @@ beforeEach(() => { }); }); -describe('BlurhashCanvas', () => { +describe('component: BlurhashCanvas', () => { it('has a hash property of type String', () => { // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore diff --git a/components/Layout/__tests__/SettingsPage.spec.ts b/components/Layout/__tests__/SettingsPage.spec.ts index af454a08..b266f103 100644 --- a/components/Layout/__tests__/SettingsPage.spec.ts +++ b/components/Layout/__tests__/SettingsPage.spec.ts @@ -16,7 +16,7 @@ const wrapper = mount(SettingsPage, { } }); -describe('SettingsPage', () => { +describe('component: SettingsPage', () => { it('shows content, action and title if all are defined', () => { expect(wrapper.text()).toContain('test-page-title'); expect(wrapper.text()).toContain('This is a demo action'); diff --git a/mixins/__tests__/formsHelper.spec.ts b/mixins/__tests__/formsHelper.spec.ts index 628a57fd..f74c09ff 100644 --- a/mixins/__tests__/formsHelper.spec.ts +++ b/mixins/__tests__/formsHelper.spec.ts @@ -21,7 +21,7 @@ const FORMS_EXPECTED_OUTPUT = [ { value: { name: 'eee' } } ]; -describe('formsHelper', () => { +describe('mixin: formsHelper', () => { it('correctly itemizes the array of items', () => { expect(TestComponent.getItemizedSelect(FORMS_TEST_INPUT)).toMatchObject( FORMS_EXPECTED_OUTPUT diff --git a/mixins/__tests__/htmlHelper.spec.ts b/mixins/__tests__/htmlHelper.spec.ts index b8373e84..8c82e7af 100644 --- a/mixins/__tests__/htmlHelper.spec.ts +++ b/mixins/__tests__/htmlHelper.spec.ts @@ -5,7 +5,7 @@ const TestComponent = new Vue({ mixins: [htmlHelper] }); -describe('formsHelper', () => { +describe('mixin: htmlHelper', () => { it('correctly sanitizes HTML', () => { /* NOTE: It is not our place to test if the library used is secure. diff --git a/mixins/__tests__/itemHelper.spec.ts b/mixins/__tests__/itemHelper.spec.ts index ec79195c..276cb1dd 100644 --- a/mixins/__tests__/itemHelper.spec.ts +++ b/mixins/__tests__/itemHelper.spec.ts @@ -5,7 +5,7 @@ const TestComponent = new Vue({ mixins: [itemHelper] }); -describe('itemHelper', () => { +describe('mixin: itemHelper', () => { it('returns true if the item can be played', () => { // TODO: Replace with BaseItemKind enum expect(TestComponent.canPlay({ Type: 'AggregateFolder' })).toEqual(false); diff --git a/mixins/__tests__/timeUtils.spec.ts b/mixins/__tests__/timeUtils.spec.ts index 3a3b1d1b..43080a8b 100644 --- a/mixins/__tests__/timeUtils.spec.ts +++ b/mixins/__tests__/timeUtils.spec.ts @@ -5,7 +5,7 @@ const TestComponent = new Vue({ mixins: [timeUtils] }); -describe('timeUtils', () => { +describe('mixin: timeUtils', () => { it('converts time from ms to ticks', () => { expect(TestComponent.ticksToMs(10000)).toEqual(1);