// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`comment.js 1`] = `
====================================options=====================================
parsers: ["flow", "babel"]
printWidth: 80
                                                                                | printWidth
=====================================input======================================
const myValue = (callcallcallcallcallcall(87689769876876897698768768976987687689769876):
                 // Comment
                 one | two| thre | jdkxhflksjdhfglkjsdhfglkjhsdkfljghskdjhfgkljshdfgkjhsdkljfhgkljshdfgjdfklgjhklj );

=====================================output=====================================
const myValue = (callcallcallcallcallcall(
  87689769876876897698768768976987687689769876
): // Comment
| one
  | two
  | thre
  | jdkxhflksjdhfglkjsdhfglkjhsdkfljghskdjhfgkljshdfgkjhsdkljfhgkljshdfgjdfklgjhklj);

================================================================================
`;

exports[`union.js 1`] = `
====================================options=====================================
parsers: ["flow", "babel"]
printWidth: 80
                                                                                | printWidth
=====================================input======================================
interface RelayProps {
  articles: Array<{
    __id: string,
  } | null> | null | void | 1,
}

interface RelayProps {
  articles: Array<{
    __id: string,
  } | null> | null | void,
}

export function aPrettyLongFunction(aRatherLongParamName: string | null): string {}

export function aPrettyLongFunctionA(aRatherLongParameterName: {} | null): string[] {}
export function aPrettyLongFunctionB(aRatherLongParameterName: Function | null): string[] {}
export interface MyInterface {}
export function aPrettyLongFunctionC(aRatherLongParameterName: MyInterface | null): string[] {}
export type MyType = MyInterface
export function aPrettyLongFunctionD(aRatherLongParameterName: MyType | null): string[] {}

export function aShortFn(aShortParmName: MyType | null): string[] {}

export function aPrettyLongFunctionE(aRatherLongParameterName: Array<{
  __id: string,
} | null> | null | void): string[] {}

=====================================output=====================================
interface RelayProps {
  articles:
    | Array<{
        __id: string
      } | null>
    | null
    | void
    | 1;
}

interface RelayProps {
  articles: Array<{
    __id: string
  } | null> | null | void;
}

export function aPrettyLongFunction(
  aRatherLongParamName: string | null
): string {}

export function aPrettyLongFunctionA(
  aRatherLongParameterName: {} | null
): string[] {}
export function aPrettyLongFunctionB(
  aRatherLongParameterName: Function | null
): string[] {}
export interface MyInterface {}
export function aPrettyLongFunctionC(
  aRatherLongParameterName: MyInterface | null
): string[] {}
export type MyType = MyInterface;
export function aPrettyLongFunctionD(
  aRatherLongParameterName: MyType | null
): string[] {}

export function aShortFn(aShortParmName: MyType | null): string[] {}

export function aPrettyLongFunctionE(
  aRatherLongParameterName: Array<{
    __id: string
  } | null> | null | void
): string[] {}

================================================================================
`;
