Skip to content

Commit 9f056b8

Browse files
committed
refactor: remove _ prefix
1 parent 46a7ce9 commit 9f056b8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/jest-core/src/cli/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {formatHandleErrors} from '../collectHandles';
1717
import getConfigsOfProjectsToRun from '../getConfigsOfProjectsToRun';
1818
import getProjectNamesMissingWarning from '../getProjectNamesMissingWarning';
1919
import getSelectProjectsMessage from '../getSelectProjectsMessage';
20-
import {_run} from '../jest';
20+
import {run} from '../jest';
2121
import logDebugMessages from '../lib/logDebugMessages';
2222

2323
export async function runCLI(
@@ -81,7 +81,7 @@ export async function runCLI(
8181
);
8282
}
8383

84-
const results = await _run(
84+
const results = await run(
8585
globalConfig,
8686
configsOfProjectsToRun,
8787
hasDeprecationWarnings,

packages/jest-core/src/jest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export class Jest {
6464
const outputStream = this.globalConfig.useStderr
6565
? process.stderr
6666
: process.stdout;
67-
const results = await _run(
67+
const results = await run(
6868
this.globalConfig,
6969
this.projectConfigs,
7070
false,
@@ -104,7 +104,7 @@ const buildContextsAndHasteMaps = async (
104104
return {contexts, hasteMapInstances};
105105
};
106106

107-
export const _run = async (
107+
export const run = async (
108108
globalConfig: Config.GlobalConfig,
109109
configs: Array<Config.ProjectConfig>,
110110
hasDeprecationWarnings: boolean,

0 commit comments

Comments
 (0)