mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +00:00
chore: fix typo in test descriptions (#26366)
This commit is contained in:
parent
c073548b5b
commit
cbf4d5436a
@ -30,7 +30,7 @@ const mockNuxt = {
|
|||||||
const mockNuxtWithOptions = (options: NuxtConfig) => defu({ options }, mockNuxt) as Nuxt
|
const mockNuxtWithOptions = (options: NuxtConfig) => defu({ options }, mockNuxt) as Nuxt
|
||||||
|
|
||||||
describe('tsConfig generation', () => {
|
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)
|
const { tsConfig } = await _generateTypes(mockNuxt)
|
||||||
expect(tsConfig.compilerOptions?.paths).toMatchInlineSnapshot(`
|
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({
|
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']
|
modulesDir: ['/my-app/modules/test/node_modules', '/my-app/modules/node_modules', '/my-app/node_modules/@some/module/node_modules']
|
||||||
}))
|
}))
|
||||||
|
Loading…
Reference in New Issue
Block a user