import stripAnsi from 'strip-ansi' ; export const expectAnsilessEqual = ( actual , expected ) => { expect ( stripAnsi ( actual ) ) . toEqual ( expected ) ; } ; export const expectAnsilessContain = ( actual , expected ) => { expect ( stripAnsi ( actual ) ) . toContain ( expected ) ; } ;