diff --git a/packages/nuxt/test/nuxt-link.test.ts b/packages/nuxt/test/nuxt-link.test.ts index 84482a2f38..d5cb175995 100644 --- a/packages/nuxt/test/nuxt-link.test.ts +++ b/packages/nuxt/test/nuxt-link.test.ts @@ -212,9 +212,9 @@ describe('nuxt-link:propsOrAttributes', () => { }) it('uses set white list', () => { - expect(nuxtLink({ to: 'https://nuxtjs.org' }, { whiteList: ['nuxtjs.org'] }).props.rel).toBe('noopener') - expect(nuxtLink({ to: 'https://nuxt.com' }, { whiteList: ['nuxtjs.org', '.nuxt.com'] }).props.rel).toBe('noopener noreferrer') - expect(nuxtLink({ to: 'https://nuxters.nuxt.com' }, { whiteList: ['nuxtjs.org', '.nuxt.com'] }).props.rel).toBe('noopener') + expect(nuxtLink({ to: 'https://nuxtjs.org' }, { whitelist: ['nuxtjs.org'] }).props.rel).toBe('noopener') + expect(nuxtLink({ to: 'https://nuxt.com' }, { whitelist: ['nuxtjs.org', '.nuxt.com'] }).props.rel).toBe('noopener noreferrer') + expect(nuxtLink({ to: 'https://nuxters.nuxt.com' }, { whitelist: ['nuxtjs.org', '.nuxt.com'] }).props.rel).toBe('noopener') }) it('honors `noRel` prop', () => {