diff --git a/tests/pages/pix-site/__snapshots__/index.test.js.snap b/tests/pages/pix-site/__snapshots__/localized-home.test.js.snap similarity index 84% rename from tests/pages/pix-site/__snapshots__/index.test.js.snap rename to tests/pages/pix-site/__snapshots__/localized-home.test.js.snap index fc6b946f5..b63865e52 100644 --- a/tests/pages/pix-site/__snapshots__/index.test.js.snap +++ b/tests/pages/pix-site/__snapshots__/localized-home.test.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Index Page renders properly 1`] = ` +exports[`LocalizedHome Page renders properly 1`] = ` "
" diff --git a/tests/pages/pix-site/index.test.js b/tests/pages/pix-site/localized-home.test.js similarity index 92% rename from tests/pages/pix-site/index.test.js rename to tests/pages/pix-site/localized-home.test.js index b7470110f..260357b32 100644 --- a/tests/pages/pix-site/index.test.js +++ b/tests/pages/pix-site/localized-home.test.js @@ -1,6 +1,6 @@ import VueMeta from 'vue-meta' import { getInitialised, createLocalVue } from './utils' -import { documentFetcher, TAGS } from '~/services/document-fetcher' +import { documentFetcher } from '~/services/document-fetcher' import getMeta, { fallbackDescription } from '~/services/meta-builder' const localVue = createLocalVue() @@ -10,7 +10,7 @@ localVue.use(VueMeta, { keyName: 'head' }) jest.mock('~/services/document-fetcher') -describe.skip('Index Page', () => { +describe('LocalizedHome Page', () => { let wrapper const PRISMIC_META = 'meta info' const PRISMIC_TITLE = 'title' @@ -41,7 +41,7 @@ describe.skip('Index Page', () => { }, }), }) - wrapper = await getInitialised(TAGS.INDEX, { + wrapper = await getInitialised('localized-home', { localVue, computed: { $prismic() { @@ -77,7 +77,7 @@ describe.skip('Index Page', () => { }) test('uses the fallback meta description when not filled in Prismic', async () => { - wrapper = await getInitialised(TAGS.INDEX, { + wrapper = await getInitialised('localized-home', { localVue, computed: { $prismic() {