diff --git a/__tests__/commands/docs/index.test.ts b/__tests__/commands/docs/index.test.ts index f6935dc48..374c5e6e6 100644 --- a/__tests__/commands/docs/index.test.ts +++ b/__tests__/commands/docs/index.test.ts @@ -14,8 +14,8 @@ import { APIv1Error } from '../../../src/lib/apiError.js'; import { getAPIV1Mock, getAPIV1MockWithVersionHeader } from '../../helpers/get-api-mock.js'; import { after, before } from '../../helpers/get-gha-setup.js'; import hashFileContents from '../../helpers/hash-file-contents.js'; -import { after as afterGHAEnv, before as beforeGHAEnv } from '../../helpers/setup-gha-env.js'; import { runCommand, runCommandWithHooks } from '../../helpers/oclif.js'; +import { after as afterGHAEnv, before as beforeGHAEnv } from '../../helpers/setup-gha-env.js'; const fixturesBaseDir = '__fixtures__/docs'; const fullFixturesDir = `${__dirname}./../../${fixturesBaseDir}`; diff --git a/__tests__/commands/docs/single.test.ts b/__tests__/commands/docs/single.test.ts index 8ce51f67d..f757ecb14 100644 --- a/__tests__/commands/docs/single.test.ts +++ b/__tests__/commands/docs/single.test.ts @@ -10,8 +10,8 @@ import Command from '../../../src/commands/docs/index.js'; import { APIv1Error } from '../../../src/lib/apiError.js'; import { getAPIV1Mock, getAPIV1MockWithVersionHeader } from '../../helpers/get-api-mock.js'; import hashFileContents from '../../helpers/hash-file-contents.js'; -import { after as afterGHAEnv, before as beforeGHAEnv } from '../../helpers/setup-gha-env.js'; import { runCommand } from '../../helpers/oclif.js'; +import { after as afterGHAEnv, before as beforeGHAEnv } from '../../helpers/setup-gha-env.js'; const fixturesBaseDir = '__fixtures__/docs'; const fullFixturesDir = `${__dirname}./../../${fixturesBaseDir}`; diff --git a/__tests__/commands/openapi/index.test.ts b/__tests__/commands/openapi/index.test.ts index 1c8df8975..9807fb882 100644 --- a/__tests__/commands/openapi/index.test.ts +++ b/__tests__/commands/openapi/index.test.ts @@ -13,8 +13,8 @@ import config from '../../../src/lib/config.js'; import petstoreWeird from '../../__fixtures__/petstore-simple-weird-version.json' with { type: 'json' }; import { getAPIV1Mock, getAPIV1MockWithVersionHeader } from '../../helpers/get-api-mock.js'; import { after, before } from '../../helpers/get-gha-setup.js'; -import { after as afterGHAEnv, before as beforeGHAEnv } from '../../helpers/setup-gha-env.js'; import { runCommand } from '../../helpers/oclif.js'; +import { after as afterGHAEnv, before as beforeGHAEnv } from '../../helpers/setup-gha-env.js'; let consoleInfoSpy: MockInstance; let consoleWarnSpy: MockInstance;