Skip to content

Commit dacdf75

Browse files
committed
cmon flow, be nice
1 parent fbf5350 commit dacdf75

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/jest-cli/src/format_why_node_running.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,15 @@
77
* @flow
88
*/
99

10+
import type {OpenHandle} from 'types/TestResult';
11+
1012
import util from 'util';
1113

12-
export default function formatWhyRunning(whyRunning) {
14+
type WhyIsNodeRunningCb = ({error: (...args: string) => void}) => void;
15+
16+
export default function formatWhyRunning(
17+
whyRunning: WhyIsNodeRunningCb,
18+
): Array<OpenHandle> {
1319
const whyRunningArray = [];
1420
const fakeLogger = {
1521
error(...args) {

0 commit comments

Comments
 (0)