Skip to content

Commit

Permalink
chore(tests): remove duplicated test
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed May 29, 2020
1 parent e0d55f8 commit e5f7c41
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions test/module.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,26 +413,6 @@ for (const trailingSlash of TRAILING_SLASHES) {
])
})
})

test('can use nuxt-i18n extensions from component local i18n instance', async () => {
const html = await get('/loader-yaml')
const dom = getDom(html)
const title = dom.querySelector('p#title')
expect(title.textContent).toBe('hello world!')
const locales = dom.querySelector('p#locales')
expect(JSON.parse(locales.textContent)).toMatchObject([
{
code: 'en',
iso: 'en',
name: 'English'
},
{
code: 'fr',
iso: 'fr-FR',
name: 'Français'
}
])
})
}

describe('hreflang', () => {
Expand Down

0 comments on commit e5f7c41

Please sign in to comment.