We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbf5350 commit 89f0ae2Copy full SHA for 89f0ae2
packages/jest-cli/src/format_why_node_running.js
@@ -7,9 +7,15 @@
7
* @flow
8
*/
9
10
+import type {OpenHandle} from 'types/TestResult';
11
+
12
import util from 'util';
13
-export default function formatWhyRunning(whyRunning) {
14
+type WhyIsNodeRunningCb = ({error: (...args: Array<string>) => void}) => void;
15
16
+export default function formatWhyRunning(
17
+ whyRunning: WhyIsNodeRunningCb,
18
+): Array<OpenHandle> {
19
const whyRunningArray = [];
20
const fakeLogger = {
21
error(...args) {
0 commit comments