Skip to content

Commit

Permalink
refactor: remove _ prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicojs committed Oct 31, 2023
1 parent 46a7ce9 commit 9f056b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/jest-core/src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {formatHandleErrors} from '../collectHandles';
import getConfigsOfProjectsToRun from '../getConfigsOfProjectsToRun';
import getProjectNamesMissingWarning from '../getProjectNamesMissingWarning';
import getSelectProjectsMessage from '../getSelectProjectsMessage';
import {_run} from '../jest';
import {run} from '../jest';
import logDebugMessages from '../lib/logDebugMessages';

export async function runCLI(
Expand Down Expand Up @@ -81,7 +81,7 @@ export async function runCLI(
);
}

const results = await _run(
const results = await run(
globalConfig,
configsOfProjectsToRun,
hasDeprecationWarnings,
Expand Down
4 changes: 2 additions & 2 deletions packages/jest-core/src/jest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class Jest {
const outputStream = this.globalConfig.useStderr
? process.stderr
: process.stdout;
const results = await _run(
const results = await run(
this.globalConfig,
this.projectConfigs,
false,
Expand Down Expand Up @@ -104,7 +104,7 @@ const buildContextsAndHasteMaps = async (
return {contexts, hasteMapInstances};
};

export const _run = async (
export const run = async (
globalConfig: Config.GlobalConfig,
configs: Array<Config.ProjectConfig>,
hasDeprecationWarnings: boolean,
Expand Down

0 comments on commit 9f056b8

Please # to comment.