chore: fix typo in test descriptions (#26366)

This commit is contained in:
François Rosato 2024-03-19 11:07:12 +01:00 committed by GitHub
parent c073548b5b
commit cbf4d5436a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,7 +30,7 @@ const mockNuxt = {
const mockNuxtWithOptions = (options: NuxtConfig) => defu({ options }, mockNuxt) as Nuxt
describe('tsConfig generation', () => {
it('should add add correct relative paths for aliases', async () => {
it('should add correct relative paths for aliases', async () => {
const { tsConfig } = await _generateTypes(mockNuxt)
expect(tsConfig.compilerOptions?.paths).toMatchInlineSnapshot(`
{
@ -47,7 +47,7 @@ describe('tsConfig generation', () => {
`)
})
it('should add add exclude for module paths', async () => {
it('should add exclude for module paths', async () => {
const { tsConfig } = await _generateTypes(mockNuxtWithOptions({
modulesDir: ['/my-app/modules/test/node_modules', '/my-app/modules/node_modules', '/my-app/node_modules/@some/module/node_modules']
}))