Skip to content

Commit

Permalink
compare the correct values in Jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Jun 9, 2023
1 parent e51b09c commit ea3d9cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest/customMatchers.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function toMatchFormattedCss(received = '', argument = '') {
)
}
: () => {
let diffString = diff(formattedArgument, formattedArgument, {
let diffString = diff(formattedArgument, formattedReceived, {
expand: this.expand,
})

Expand Down

0 comments on commit ea3d9cd

Please sign in to comment.