Skip to content

Commit ea3d9cd

Browse files
committed
compare the correct values in Jest tests
1 parent e51b09c commit ea3d9cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jest/customMatchers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function toMatchFormattedCss(received = '', argument = '') {
4646
)
4747
}
4848
: () => {
49-
let diffString = diff(formattedArgument, formattedArgument, {
49+
let diffString = diff(formattedArgument, formattedReceived, {
5050
expand: this.expand,
5151
})
5252

0 commit comments

Comments
 (0)