Skip to content

Commit 30a4d63

Browse files
committed
chore: improve assertion with expected path
1 parent 78d951b commit 30a4d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/tools/unified-spec-runner/match.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ export function resultCheck(
263263
}
264264

265265
if (typeof actual !== 'object') {
266-
expect.fail('Expected actual value to be an object');
266+
expect.fail(`Expected actual value to be an object at: ${path.join('')}`);
267267
}
268268

269269
const expectedEntries = Object.entries(expected);

0 commit comments

Comments
 (0)