Skip to content

Commit 7eef4a5

Browse files
committed
Fix newer syntax
1 parent e9a9d9e commit 7eef4a5

File tree

1 file changed

+1
-1
lines changed
  • packages/nextjs/test/integration/test/utils

1 file changed

+1
-1
lines changed

packages/nextjs/test/integration/test/utils/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ const assertObjectMatches = (actual, expected) => {
101101
if (Object.prototype.toString.call(actual) !== Object.prototype.toString.call(expected)) {
102102
throw new TypeError(
103103
`Types mismatch: ${actual} !== ${expected}. Actual (full): ${JSON.stringify(
104-
actual ?? '',
104+
actual || '',
105105
)} Expected (full): ${JSON.stringify(expected)}`,
106106
);
107107
}

0 commit comments

Comments
 (0)