We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54664a2 commit 0b2c253Copy full SHA for 0b2c253
packages/nextjs/test/integration/test/utils/client.js
@@ -99,7 +99,11 @@ const extractEnvelopeFromRequest = request => {
99
100
const assertObjectMatches = (actual, expected) => {
101
if (Object.prototype.toString.call(actual) !== Object.prototype.toString.call(expected)) {
102
- throw new TypeError(`Types mismatch: ${actual} !== ${expected}`);
+ throw new TypeError(
103
+ `Types mismatch: ${actual} !== ${expected}. Actual (full): ${JSON.stringify(
104
+ actual ?? '',
105
+ )} Expected (full): ${JSON.stringify(expected)}`,
106
+ );
107
}
108
109
for (const key in expected) {
0 commit comments