Skip to content

Commit

Permalink
cmon flow, be nice
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed May 4, 2018
1 parent fbf5350 commit 89f0ae2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/jest-cli/src/format_why_node_running.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@
* @flow
*/

import type {OpenHandle} from 'types/TestResult';

import util from 'util';

export default function formatWhyRunning(whyRunning) {
type WhyIsNodeRunningCb = ({error: (...args: Array<string>) => void}) => void;

export default function formatWhyRunning(
whyRunning: WhyIsNodeRunningCb,
): Array<OpenHandle> {
const whyRunningArray = [];
const fakeLogger = {
error(...args) {
Expand Down

0 comments on commit 89f0ae2

Please sign in to comment.