diff --git a/jest/customMatchers.js b/jest/customMatchers.js index ad0b61ef1..8e262bdd0 100644 --- a/jest/customMatchers.js +++ b/jest/customMatchers.js @@ -46,7 +46,7 @@ function toMatchFormattedCss(received = '', argument = '') { ) } : () => { - let diffString = diff(formattedArgument, formattedArgument, { + let diffString = diff(formattedArgument, formattedReceived, { expand: this.expand, })