diff --git a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/callback-object/index.ts b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/callback-object/index.ts index 2161c13d59..7f963a4b41 100644 --- a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/callback-object/index.ts +++ b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/callback-object/index.ts @@ -19,7 +19,7 @@ describe('dereference', function () { }); context('strategies', function () { - context('openapi-3-1swagger-client', function () { + context('openapi-3-1-swagger-client', function () { context('Callback Object', function () { context('given in components/callbacks field', function () { const fixturePath = path.join(rootFixturePath, 'components-callbacks'); diff --git a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/example-object/dereference-apidom.ts b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/example-object/dereference-apidom.ts index 54d1b2e84c..79e2b0d143 100644 --- a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/example-object/dereference-apidom.ts +++ b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/example-object/dereference-apidom.ts @@ -21,7 +21,7 @@ describe('dereference', function () { }); context('strategies', function () { - context('openapi-3-1swagger-client', function () { + context('openapi-3-1-swagger-client', function () { context('Example Object', function () { context('given single ExampleElement passed to dereferenceApiDOM', function () { const fixturePath = path.join(__dirname, 'fixtures', 'external-value-json', 'root.json'); diff --git a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/example-object/index.ts b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/example-object/index.ts index b713dcd2a4..14c0c8d42d 100644 --- a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/example-object/index.ts +++ b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/example-object/index.ts @@ -20,7 +20,7 @@ describe('dereference', function () { }); context('strategies', function () { - context('openapi-3-1swagger-client', function () { + context('openapi-3-1-swagger-client', function () { context('Example Object', function () { context('given in components/examples field', function () { const fixturePath = path.join(rootFixturePath, 'components-examples'); diff --git a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/header-object/index.ts b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/header-object/index.ts index e9659ff70b..7d189882ea 100644 --- a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/header-object/index.ts +++ b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/header-object/index.ts @@ -19,7 +19,7 @@ describe('dereference', function () { }); context('strategies', function () { - context('openapi-3-1swagger-client', function () { + context('openapi-3-1-swagger-client', function () { context('Header Object', function () { context('given in components/headers field', function () { const fixturePath = path.join(rootFixturePath, 'components-headers'); diff --git a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/link-object/dereference-apidom.ts b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/link-object/dereference-apidom.ts index 8e48a272d0..e5489cc560 100644 --- a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/link-object/dereference-apidom.ts +++ b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/link-object/dereference-apidom.ts @@ -10,10 +10,19 @@ import { import { evaluate } from '@swagger-api/apidom-json-pointer'; import { parse, dereferenceApiDOM } from '../../../../../src'; +import * as bootstrap from '../bootstrap'; describe('dereference', function () { + before(function () { + bootstrap.before(); + }); + + after(function () { + bootstrap.after(); + }); + context('strategies', function () { - context('openapi-3-1swagger-client', function () { + context('openapi-3-1-swagger-client', function () { context('Link Object', function () { context('given single LinkElement passed to dereferenceApiDOM', function () { const fixturePath = path.join( diff --git a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/link-object/index.ts b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/link-object/index.ts index 88667108d7..e652982c55 100644 --- a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/link-object/index.ts +++ b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/link-object/index.ts @@ -21,7 +21,7 @@ describe('dereference', function () { }); context('strategies', function () { - context('openapi-3-1swagger-client', function () { + context('openapi-3-1-swagger-client', function () { context('Link Object', function () { context('given in components/links field', function () { const fixturePath = path.join(rootFixturePath, 'components-links'); @@ -200,7 +200,7 @@ describe('dereference', function () { }); context('given operationId field', function () { - context('and OperationElement with operationId exists', async function () { + context('and OperationElement with operationId exists', function () { const fixturePath = path.join(rootFixturePath, 'operation-id'); const rootFilePath = path.join(fixturePath, 'root.json'); @@ -226,7 +226,7 @@ describe('dereference', function () { ); }); - context("and OperationElement with operationId doesn't exist", async function () { + context("and OperationElement with operationId doesn't exist", function () { const fixturePath = path.join(rootFixturePath, 'operation-id-non-existent'); specify('should throw error', async function () { diff --git a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/parameter-object/index.ts b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/parameter-object/index.ts index d071b7b6cc..d95478ba73 100644 --- a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/parameter-object/index.ts +++ b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/parameter-object/index.ts @@ -19,7 +19,7 @@ describe('dereference', function () { }); context('strategies', function () { - context('openapi-3-1swagger-client', function () { + context('openapi-3-1-swagger-client', function () { context('Parameter Object', function () { context('given in components/parameters field', function () { const fixturePath = path.join(rootFixturePath, 'components-parameters'); diff --git a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/path-item-object/dereference-apidom.ts b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/path-item-object/dereference-apidom.ts index 0fc25a4656..bfd198c894 100644 --- a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/path-item-object/dereference-apidom.ts +++ b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/path-item-object/dereference-apidom.ts @@ -20,7 +20,7 @@ describe('dereference', function () { }); context('strategies', function () { - context('openapi-3-1swagger-client', function () { + context('openapi-3-1-swagger-client', function () { context('Path Item Object', function () { context('given single PathItemElement passed to dereferenceApiDOM', function () { const fixturePath = path.join(__dirname, 'fixtures', 'external-only', 'root.json'); diff --git a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/path-item-object/index.ts b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/path-item-object/index.ts index d1d5593c93..f2432d0abf 100644 --- a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/path-item-object/index.ts +++ b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/path-item-object/index.ts @@ -21,7 +21,7 @@ describe('dereference', function () { }); context('strategies', function () { - context('openapi-3-1swagger-client', function () { + context('openapi-3-1-swagger-client', function () { context('Path Item Object', function () { context('given in webhooks field', function () { const fixturePath = path.join(rootFixturePath, 'webhooks'); diff --git a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/reference-object/dereference-apidom.ts b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/reference-object/dereference-apidom.ts index 7978ededdf..a54875f9b7 100644 --- a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/reference-object/dereference-apidom.ts +++ b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/reference-object/dereference-apidom.ts @@ -21,7 +21,7 @@ describe('dereference', function () { }); context('strategies', function () { - context('openapi-3-1swagger-client', function () { + context('openapi-3-1-swagger-client', function () { context('Reference Object', function () { context('given single ReferenceElement passed to dereferenceApiDOM', function () { context('given dereferencing using local file system', function () { diff --git a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/reference-object/index.ts b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/reference-object/index.ts index ec390363ce..491db250af 100644 --- a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/reference-object/index.ts +++ b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/reference-object/index.ts @@ -28,7 +28,7 @@ describe('dereference', function () { }); context('strategies', function () { - context('openapi-3-1swagger-client', function () { + context('openapi-3-1-swagger-client', function () { context('Reference Object', function () { context('given Reference Objects pointing internally and externally', function () { const fixturePath = path.join(rootFixturePath, 'internal-external'); diff --git a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/request-body-object/index.ts b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/request-body-object/index.ts index 5fe1c4cba3..63cff08401 100644 --- a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/request-body-object/index.ts +++ b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/request-body-object/index.ts @@ -19,7 +19,7 @@ describe('dereference', function () { }); context('strategies', function () { - context('openapi-3-1swagger-client', function () { + context('openapi-3-1-swagger-client', function () { context('Request Body Object', function () { context('given in components/requestBodies field', function () { const fixturePath = path.join(rootFixturePath, 'components-request-bodies'); diff --git a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/response-object/index.ts b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/response-object/index.ts index f18146bc9f..151825a8d7 100644 --- a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/response-object/index.ts +++ b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/response-object/index.ts @@ -19,7 +19,7 @@ describe('dereference', function () { }); context('strategies', function () { - context('openapi-3-1swagger-client', function () { + context('openapi-3-1-swagger-client', function () { context('Response Object', function () { context('given in components/responses field', function () { const fixturePath = path.join(rootFixturePath, 'components-responses'); diff --git a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/schema-object/dereference-apidom.ts b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/schema-object/dereference-apidom.ts index de03b48608..5dc8c804d8 100644 --- a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/schema-object/dereference-apidom.ts +++ b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/schema-object/dereference-apidom.ts @@ -16,7 +16,7 @@ describe('dereference', function () { }); context('strategies', function () { - context('openapi-3-1swagger-client', function () { + context('openapi-3-1-swagger-client', function () { context('Schema Object', function () { context('given single SchemaElement passed to dereferenceApiDOM', function () { const fixturePath = path.join(__dirname, 'fixtures', 'external-only', 'root.json'); diff --git a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/schema-object/index.ts b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/schema-object/index.ts index c8a99eb2bb..93be904def 100644 --- a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/schema-object/index.ts +++ b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/schema-object/index.ts @@ -29,7 +29,7 @@ describe('dereference', function () { }); context('strategies', function () { - context('openapi-3-1swagger-client', function () { + context('openapi-3-1-swagger-client', function () { context('Schema Object - $ref keyword from core vocabulary', function () { context('given Schema Objects pointing internally and externally', function () { const fixturePath = path.join(rootFixturePath, 'internal-external'); diff --git a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/security-schemes-object/index.ts b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/security-schemes-object/index.ts index 8b9960ffc7..2fee6cfbe4 100644 --- a/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/security-schemes-object/index.ts +++ b/packages/apidom-reference/test/dereference/strategies/openapi-3-1-swagger-client/security-schemes-object/index.ts @@ -19,7 +19,7 @@ describe('dereference', function () { }); context('strategies', function () { - context('openapi-3-1swagger-client', function () { + context('openapi-3-1-swagger-client', function () { context('Security Scheme Object', function () { context('given in components/securitySchemes field', function () { const fixturePath = path.join(rootFixturePath, 'components-security-schemes'); diff --git a/packages/apidom-reference/test/dereference/strategies/openapi-3-1/link-object/index.ts b/packages/apidom-reference/test/dereference/strategies/openapi-3-1/link-object/index.ts index b0f6d8870a..cb1e6391dc 100644 --- a/packages/apidom-reference/test/dereference/strategies/openapi-3-1/link-object/index.ts +++ b/packages/apidom-reference/test/dereference/strategies/openapi-3-1/link-object/index.ts @@ -191,7 +191,7 @@ describe('dereference', function () { }); context('given operationId field', function () { - context('and OperationElement with operationId exists', async function () { + context('and OperationElement with operationId exists', function () { const fixturePath = path.join(rootFixturePath, 'operation-id'); const rootFilePath = path.join(fixturePath, 'root.json'); @@ -217,7 +217,7 @@ describe('dereference', function () { ); }); - context("and OperationElement with operationId doesn't exist", async function () { + context("and OperationElement with operationId doesn't exist", function () { const fixturePath = path.join(rootFixturePath, 'operation-id-non-existent'); specify('should throw error', async function () {