Skip to content

Commit

Permalink
fixe type error
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Mar 3, 2019
1 parent b24eae7 commit 8256295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-runner/src/runTest.ts
Expand Up @@ -36,10 +36,10 @@ type RunTestInternalResult = {
};

function freezeConsole(
// @ts-ignore: Correct types when `jest-util` is ESM
testConsole: BufferedConsole | CustomConsole | NullConsole,
config: Config.ProjectConfig,
) {
// @ts-ignore: `_log` is `private` - we should figure out some proper API here
testConsole._log = function fakeConsolePush(
_type: LogType,
message: LogMessage,
Expand Down

0 comments on commit 8256295

Please sign in to comment.