Skip to content

Commit

Permalink
Update packages/expect/src/utils.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Simen Bekkhus <sbekkhus91@gmail.com>
  • Loading branch information
khai93 and SimenB committed Sep 2, 2021
1 parent 5e34616 commit f4c9037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/expect/src/utils.ts
Expand Up @@ -334,7 +334,7 @@ export const arrayBufferEquality = (a: unknown, b: unknown): boolean | undefined

// Check if every byte value is equal to each other
for (let i = 0;i < dataViewA.byteLength; i++) {
if (dataViewA.getUint8(i) != dataViewB.getUint8(i)) {
if (dataViewA.getUint8(i) !== dataViewB.getUint8(i)) {
return false;
}
}
Expand Down

0 comments on commit f4c9037

Please sign in to comment.