diff --git a/src/openApi/v2/parser/getServer.spec.ts b/src/openApi/v2/parser/__tests__/getServer.spec.ts similarity index 92% rename from src/openApi/v2/parser/getServer.spec.ts rename to src/openApi/v2/parser/__tests__/getServer.spec.ts index 8b3772c79..3da9b20e3 100644 --- a/src/openApi/v2/parser/getServer.spec.ts +++ b/src/openApi/v2/parser/__tests__/getServer.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; -import { getServer } from './getServer'; +import { getServer } from '../getServer'; describe('getServer', () => { it('should produce correct result', () => { diff --git a/src/openApi/v2/parser/getServiceName.spec.ts b/src/openApi/v2/parser/__tests__/getServiceName.spec.ts similarity index 91% rename from src/openApi/v2/parser/getServiceName.spec.ts rename to src/openApi/v2/parser/__tests__/getServiceName.spec.ts index c1e7782f6..8925658b1 100644 --- a/src/openApi/v2/parser/getServiceName.spec.ts +++ b/src/openApi/v2/parser/__tests__/getServiceName.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; -import { getServiceName } from './getServiceName'; +import { getServiceName } from '../getServiceName'; describe('getServiceName', () => { it('should produce correct result', () => { diff --git a/src/openApi/v2/parser/getServices.spec.ts b/src/openApi/v2/parser/__tests__/getServices.spec.ts similarity index 97% rename from src/openApi/v2/parser/getServices.spec.ts rename to src/openApi/v2/parser/__tests__/getServices.spec.ts index 0fbc2faba..842d4b865 100644 --- a/src/openApi/v2/parser/getServices.spec.ts +++ b/src/openApi/v2/parser/__tests__/getServices.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; -import { getServices } from './getServices'; +import { getServices } from '../getServices'; describe('getServices', () => { it('should create a unnamed service if tags are empty', () => { diff --git a/src/openApi/v3/parser/getModel.spec.ts b/src/openApi/v3/parser/__tests__/getModel.spec.ts similarity index 95% rename from src/openApi/v3/parser/getModel.spec.ts rename to src/openApi/v3/parser/__tests__/getModel.spec.ts index 21846e0e5..280f9b9e5 100644 --- a/src/openApi/v3/parser/getModel.spec.ts +++ b/src/openApi/v3/parser/__tests__/getModel.spec.ts @@ -1,8 +1,8 @@ import { describe, expect, it } from 'vitest'; -import { reservedWords } from '../../../utils/reservedWords'; -import { getType } from '../../../utils/type'; -import { getModel } from './getModel'; +import { reservedWords } from '../../../../utils/reservedWords'; +import { getType } from '../../../../utils/type'; +import { getModel } from '../getModel'; const openApi = { openapi: '3.0', diff --git a/src/openApi/v3/parser/getServer.spec.ts b/src/openApi/v3/parser/__tests__/getServer.spec.ts similarity index 97% rename from src/openApi/v3/parser/getServer.spec.ts rename to src/openApi/v3/parser/__tests__/getServer.spec.ts index 0c13ee896..e26ef7d17 100644 --- a/src/openApi/v3/parser/getServer.spec.ts +++ b/src/openApi/v3/parser/__tests__/getServer.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; -import { getServer } from './getServer'; +import { getServer } from '../getServer'; describe('getServer', () => { it('should produce correct result', () => {